示例#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);