public void Delete(User entity) { if (entity == null) { throw new ArgumentNullException("user is null"); } else { this.context.User.DeleteOnSubmit(entity); } }
partial void DeleteUser(User instance);
partial void UpdateUser(User instance);
partial void InsertUser(User instance);