partial void Initialize2(SqlSet set) { if (set.ManyIncludes != null) { this.ManyIncludes = new Dictionary <string[], CollectionLoader>(set.ManyIncludes); } Initialize3(set); }
public SqlSetSamples(DbConnection conn, TextWriter log) { var db = new Database(conn) { Configuration = { Log = log } }; this.products = db.From<Product>("Products"); }
partial void Initialize3(SqlSet set);
public SqlSetSamples(DbConnection conn, TextWriter log) { this.productSet = conn.From<Product>("Products", log); }
public SqlSetSamples(DbConnection conn, TextWriter log) { this.productSet = conn.Set<Product>(new SqlBuilder("SELECT * FROM Products"), log); }