示例#1
0
 public void Create(User user)
 {
     UsersData data = new UsersData()
     {
         Name = user.Name,
         Surname = user.Surname,
         Address = user.Address,
         Phone = user.Phone
     };
     context.UsersDatas.InsertOnSubmit(data);
     context.SubmitChanges();
 }
示例#2
0
 partial void UpdateUsersData(UsersData instance);
示例#3
0
 partial void DeleteUsersData(UsersData instance);
示例#4
0
 partial void InsertUsersData(UsersData instance);