Beispiel #1
0
 public void InsertUser(UserModel user)
 {
     User userData = new User()
     {
         Name = user.Name,
         Email = user.Email,
         Age = user.Age
     };
     //_dataContext.Users.InsertAllOnSubmit(userData);
     _dataContext.SubmitChanges();
 }
Beispiel #2
0
 partial void DeleteUser(User instance);
Beispiel #3
0
 partial void UpdateUser(User instance);
Beispiel #4
0
 partial void InsertUser(User instance);