Skip to content

Latest commit

History

188 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

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

publicclassUser{publicintUserId{get;set;}publicstringEmail{get;set;}}IDatabasedb=newDatabase("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.

About

Simple microORM that maps the results of a query onto a POCO object. Project based on Schotime's branch of PetaPoco

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors