Example #1
0
 public EntityDataRow(object[] rowValues, EntityBinder binder, FillDataDelegate <T> fillMethod)
 {
     _entity     = default(T);
     _rowValues  = rowValues;
     _binder     = binder;
     _fillMethod = fillMethod;
 }
Example #2
0
 public void PrepareSet(IEntityValueConverter valueConverter)
 {
     Binder = new EntityBinder(valueConverter);
     EntityBinder.PrepareEntity(typeof(T));
     FillMethod = FillMethod ?? DefaultFillMethod;
 }
Example #3
0
 public void PrepareSet(IEntityValueConverter valueConverter)
 {
     Binder = new EntityBinder(valueConverter);
     EntityBinder.PrepareEntity <T>();
     FillMethod = FillMethod ?? DataAccessBase.DefaultFillMethod <T> .Instance;
 }