Пример #1
0
 private DbContext()
 {
     connectionStack    = new Stack <DbConnection>();
     RecordRepository   = new DbRecordRepository();
     EntityRepository   = new DbEntityRepository();
     RelationRepository = new DbRelationRepository();
     SettingsRepository = new DbSystemSettingsRepository();
 }
Пример #2
0
 private DbContext()
 {
     connectionStack = new Stack<DbConnection>();
     RecordRepository = new DbRecordRepository();
     EntityRepository = new DbEntityRepository();
     RelationRepository = new DbRelationRepository();
     SettingsRepository = new DbSystemSettingsRepository();
 }