Пример #1
0
 public SchemaManager()
 {
     _gorillaCtx = new MSGorillaContext();
     Schema defaultSchema = _gorillaCtx.Schemas.Find("none");
     if (defaultSchema == null)
     {
         defaultSchema = new Schema("none", "");
         _gorillaCtx.Schemas.Add(defaultSchema);
         _gorillaCtx.SaveChanges();
     }
 }
Пример #2
0
 public AccountManager(){
     _accountCtx = new MSGorillaContext();
 }