private static SqlEntityAdapter CreateAdapter(Type type) { return(new SqlEntityAdapter(CreateDatabase(), new SqlServerDialectProvider(SqlTableSchema.Load(type)))); }
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)))); }