Beispiel #1
0
        public void Insert(string MaLuotkham, string LockedFullname, string LockedBy, DateTime LockedTime, string FunctionCode, string FunctionName, string SDesc)
        {
            SysLockObject item = new SysLockObject();

            item.MaLuotkham = MaLuotkham;

            item.LockedFullname = LockedFullname;

            item.LockedBy = LockedBy;

            item.LockedTime = LockedTime;

            item.FunctionCode = FunctionCode;

            item.FunctionName = FunctionName;

            item.SDesc = SDesc;


            item.Save(UserName);
        }
Beispiel #2
0
 public bool Destroy(object MaLuotkham)
 {
     return(SysLockObject.Destroy(MaLuotkham) == 1);
 }
Beispiel #3
0
 public bool Delete(object MaLuotkham)
 {
     return(SysLockObject.Delete(MaLuotkham) == 1);
 }