Projets
Voir sur GitHub
schotime/NPoco
À propos
MicroORM simple qui mappe les résultats d’une requête vers un objet POCO. Projet basé sur la branche PetaPoco de Schotime.
Données et analyseProgression mesurée des étoiles
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- -1
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalNPoco
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 query
public 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.
Explorer des projets similaires
Chargement…