Welcome to the NPoco! NPoco is a fork of PetaPoco based on Schotime's branch with a handful of extra features.
Getting Started: Your first querypublic class User { public int UserId { get;set; } public string Email { get;set; } } IDatabase db = new Database("connStringName"); List<User> users = db.Fetch<User>("select userId, email from users");
This works by mapping the column names to the property names on the User
object. This is a case-insensitive match.
There is no mapping setup needed for this (query only) scenario.
Checkout the Wiki for more documentation.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4