Example #1
0
 public static smalldatabaseContext getDBInstance()
 {
     if (ob == null)
     {
         ob = new smalldatabaseContext();
     }
     return(ob);
 }
Example #2
0
 public OrdersController()
 {
     _context = DB.getDBInstance();
 }