public ModelManagerDataSet(ModelMgr modelMgr) { this.modelMgr = modelMgr; dataset = new DataSet(); entityTypes = new List <Type>(); typeTableMap = new Dictionary <Type, DataTable>(); }
public ModelTable(ModelMgr modelMgr, IDbContextService db, DataTable backingTable, List <IEntity> modelCollection) { this.modelMgr = modelMgr; this.db = db; dt = backingTable; items = modelCollection; WireUpEvents(dt); }
public ModelTable(ModelMgr modelMgr, DataContext context, DataTable backingTable, List <IEntity> modelCollection) { this.modelMgr = modelMgr; this.context = context; dt = backingTable; items = modelCollection; WireUpEvents(dt); RegisterWithModelManager(); }
public static ModelManagerDataSet CreateDataSet(this ModelMgr mmgr) { var mmds = new ModelManagerDataSet(new ModelMgr(mmgr.DataContext)); return(mmds); }
public ModelView(ModelMgr modelMgr, IDbContextService db, DataTable backingTable, List <IEntity> modelCollection) : base(modelMgr, db, backingTable, modelCollection) { }
public ModelView(ModelMgr modelMgr, DataContext context, DataTable backingTable, List <IEntity> modelCollection) : base(modelMgr, context, backingTable, modelCollection) { }