/// <summary> /// 传入users实体类,执行SQL ,返回受影响的行数 /// </summary> public static int Add(users regu) => UserService.Add(regu);
public test() { UserService n = new UserService(); n.Add(T); }
/// <summary> /// 增加一条数据 /// </summary> public int Add(User model) { return(dal.Add(model)); }