Popularity
6.8
Growing
Activity
5.1
Growing
689
108
274

Code Quality Rank: L2
Monthly Downloads: 6,346
Programming language: C#
Tags: ORM     Database     SQL     Micro-orm     MVC    
Latest version: v3.8.0

NPoco alternatives and similar packages

Based on the "ORM" category

Do you think we are missing an alternative of NPoco or a related project?

Add another 'ORM' Package

README

NPoco

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.