Example #1
0
        public void Update(long IRole, string FpSBranchID, long IParentRole, string SRoleName, string SEngRoleName, int?IOrder, long?FkIFunctionID, DateTime?TDateCreated, string SImgPath, string SDesc, string SIconPath, int?IntShortCutKey, int?IsMid, int?IsTabView, int?IsMultiview, int?BEnabled, string SParameterList)
        {
            SysRole item = new SysRole();

            item.MarkOld();
            item.IsLoaded = true;

            item.IRole = IRole;

            item.FpSBranchID = FpSBranchID;

            item.IParentRole = IParentRole;

            item.SRoleName = SRoleName;

            item.SEngRoleName = SEngRoleName;

            item.IOrder = IOrder;

            item.FkIFunctionID = FkIFunctionID;

            item.TDateCreated = TDateCreated;

            item.SImgPath = SImgPath;

            item.SDesc = SDesc;

            item.SIconPath = SIconPath;

            item.IntShortCutKey = IntShortCutKey;

            item.IsMid = IsMid;

            item.IsTabView = IsTabView;

            item.IsMultiview = IsMultiview;

            item.BEnabled = BEnabled;

            item.SParameterList = SParameterList;

            item.Save(UserName);
        }
Example #2
0
 public bool Destroy(object IRole)
 {
     return(SysRole.Destroy(IRole) == 1);
 }
Example #3
0
 public bool Delete(object IRole)
 {
     return(SysRole.Delete(IRole) == 1);
 }