예제 #1
0
 public SqlUpdateBuilder(SqlDataModel <TEntity> dataModel) :
     base(dataModel)
 {
     _tableName    = DataModel.StorageModel.DefaultTableName;
     _whereBuilder = new ConditionBuilder <TEntity>(dataModel, ConditionConverter);
     _assignments  = new FieldAssignmentBuilder <TEntity>(dataModel);
 }
예제 #2
0
 public SqlInsertBuilder(SqlDataModel <TEntity> dataModel) :
     base(dataModel)
 {
     _tableName   = DataModel.StorageModel.DefaultTableName;
     _assignments = new FieldAssignmentBuilder <TEntity>(dataModel);
     PopulateDefaults();
 }