예제 #1
0
 public CoffeeMachineController()
 {
     _ctx = new CoffeDataContext();
     String path = HttpContext.Current.Server.MapPath("~/App_Data") + "\\";
     _ctx.Load(path);
     _path = path;
 }
예제 #2
0
        public CoffeeMachineController()
        {
            _ctx = new CoffeDataContext();
            String path = HttpContext.Current.Server.MapPath("~/App_Data") + "\\";

            _ctx.Load(path);
            _path = path;
        }
예제 #3
0
        public void TestInitPurchase()
        {
            CoffeDataContext _ctx = new CoffeDataContext();

            _ctx.Init(String.Empty);
        }
예제 #4
0
 public CoffeeMachineController(CoffeDataContext ctx)
 {
     _ctx = ctx;
 }
예제 #5
0
 public void TestInitPurchase()
 {
     CoffeDataContext _ctx = new CoffeDataContext();
     _ctx.Init(String.Empty);
 }
예제 #6
0
 public CoffeeMachineController(CoffeDataContext ctx)
 {
     _ctx = ctx;
 }