예제 #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();
 }