Ejemplo n.º 1
0
 public DataService()
 {
     _database = new RoomCourseModelContainer();
     _database.WingSet.MergeOption = MergeOption.NoTracking;
     _database.LevelSet.MergeOption = MergeOption.NoTracking;
     _database.RoomSet.MergeOption = MergeOption.NoTracking;
     _database.CourseSet.MergeOption = MergeOption.NoTracking;
 }
Ejemplo n.º 2
0
 public DataService()
 {
     _database = new RoomCourseModelContainer();
 }