示例#1
0
        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);
        }
示例#2
0
 public bool Destroy(object PkSuid)
 {
     return(TblUser.Destroy(PkSuid) == 1);
 }
示例#3
0
 public bool Delete(object PkSuid)
 {
     return(TblUser.Delete(PkSuid) == 1);
 }