README.md

    NPoco

    Nuget

    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.

    项目简介

    简单的microORM,可将查询结果映射到POCO对象。项目基于Schotime的PetaPoco。

    发行版本 1

    5.0.0

    全部发行版

    贡献者 22

    全部贡献者

    开发语言

    • C# 97.5 %
    • PowerShell 2.5 %
    • Batchfile 0.0 %
    • Smalltalk 0.0 %