public void Update(string PkSuid, string FpSBranchID, string SPwd, string SFullName, string SDepart, DateTime?TDateCreated, short?ISecurityLevel, string SDesc) { var item = new TblUser(); item.MarkOld(); item.IsLoaded = true; item.PkSuid = PkSuid; item.FpSBranchID = FpSBranchID; item.SPwd = SPwd; item.SFullName = SFullName; item.SDepart = SDepart; item.TDateCreated = TDateCreated; item.ISecurityLevel = ISecurityLevel; item.SDesc = SDesc; item.Save(UserName); }
public bool Destroy(object PkSuid) { return(TblUser.Destroy(PkSuid) == 1); }
public bool Delete(object PkSuid) { return(TblUser.Delete(PkSuid) == 1); }