Kamis, 07 April 2011

Dapper - a simple object mapper for .Net

FeaturesDapper is a single file you can drop in to your project that will extend your IDbConnection interface. It provides 3 helpers:Execute a query and map the results to a strongly typed Listpublic static List ExecuteMapperQuery(this IDbConnection cnn, string sql, object param = null, SqlTransaction transaction = null) Example usage:public class Dog{    public int? Age { get; set; }    

Tidak ada komentar:

Posting Komentar