private static SqlEntityAdapter CreateAdapter(Type type)
 {
     return(new SqlEntityAdapter(CreateDatabase(), new SqlServerDialectProvider(SqlTableSchema.Load(type))));
 }
Example #2
0
 public SqlEntityAdapter(Database db, Type entityType) : base(db, new SqlServerDialectProvider(SqlTableSchema.Load(entityType)))
 {
 }
 public static EntityAdapter CreateAdapter(Type entityType)
 {
     return(new EntityAdapter(CreateDb(), new SqlServerDialectProvider(SqlTableSchema.Load(entityType))));
 }