예제 #1
0
 public MainWindow()
 {
     InitializeComponent();
     model  = new MyDBEntities();
     model2 = new MyModelContainer();
     //model2.PersonaInfoes.Add(new PersonaInfo { FName = "Gregory", LName = "Terner", Skype = "45greg" });
     //model2.SaveChanges();
 }
예제 #2
0
 public MainWindow()
 {
     InitializeComponent();
     model = new MyDBEntities();
     model2 = new MyModelContainer();
     //model2.PersonaInfoes.Add(new PersonaInfo { FName = "Gregory", LName = "Terner", Skype = "45greg" });
     //model2.SaveChanges();
 }