예제 #1
0
 public DALayer()
 {
     _pDBContext = new ParkingFeeDB();
 }
예제 #2
0
 public App()
 {
     AppDomain.CurrentDomain.SetData("DataDirectory", Environment.GetFolderPath(Environment.SpecialFolder.CommonApplicationData));
     using (var context = new ParkingFeeDB()) { context.Database.Initialize(true); }
 }