/*** 方法 ***/ //用户 public abstract int CreateNewUser(Users newUser);
/*** ��̬���� ***/ /// <summary> /// �����û� /// </summary> /// <returns></returns> public static int InsertUser(string userName, string password, string trueName, string mobile, string tel, string adds, int corpId, DateTime expiryDate, string authoritys, string note, byte state) { Users insertUser = new Users(0, userName, password, trueName, mobile, tel, adds, corpId, expiryDate, authoritys, note, state); if (insertUser.Save()) { return insertUser.UserId; } else { return 0; } }
public abstract bool UpdateUser(Users newUser);