Пример #1
0
 public MassiveContextBase( MassiveRecord.DynamicTable.IReadableConfiguration config )
     : this(config.ConnectionStringName)
 {
     TableName = config.TableName;
     PrimaryKeyField = config.PrimaryKeyField;
     bound_filters = config.Filters;
     bound_validators = config.Validators;
 }
Пример #2
0
 public MassiveContextBase( MassiveRecord.DynamicTable.ISettings config )
     : this(config.ConnectionString)
 {
     TableName = config.Table;
     PrimaryKeyField = config.PrimaryKey;
     bound_filters = config.Filters;
     bound_validators = config.Validators;
 }