예제 #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();
 }
예제 #2
0
 partial void DeleteUser(User instance);
예제 #3
0
 partial void UpdateUser(User instance);
예제 #4
0
 partial void InsertUser(User instance);