Exemplo n.º 1
0
 public SupervisorPageViewModel()
 {
     this.Employee = new ObservableCollection <EmployeeCheckIn>();
     context       = new EmployeeCheckInDataContext(EmployeeCheckInDataContext.DBConnectionString);
     if (!context.DatabaseExists())
     {
         context.CreateDatabase();
         context.SubmitChanges();
     }
 }