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