예제 #1
0
 public SiteRepository()
 {
     this._db          = new AviatorDb <Site>();
     this._pageDb      = new AviatorDb <SitePage>();
     this._settingsDb  = new AviatorDb <SiteSettings>();
     this._currentSite = null;
 }
예제 #2
0
 public TRepository()
 {
     this._list         = new HashSet <TEntity>();
     this._newList      = new HashSet <TEntity>();
     this._modifiedList = new HashSet <TEntity>();
     this._removedList  = new HashSet <TEntity>();
     this._db           = new AviatorDb <TEntity>();
 }