Example #1
0
 public static DatabaseModelContainer GetContext()
 {
     if (Context == null)
     {
         Context = new DatabaseModelContainer();
     }
     return(Context);
 }
Example #2
0
 public API()
 {
     dbcontext = new DatabaseModelContainer();
 }