Esempio n. 1
0
        public void Insert(string FpSBranchID, long IParentRole, string SRoleName, string SEngRoleName, int?IOrder,
                           long?FkIFunctionID, DateTime?TDateCreated, string SImgPath, string SDesc, string SIconPath,
                           int?IntShortCutKey)
        {
            var item = new TblRole();

            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.Save(UserName);
        }
Esempio n. 2
0
 public bool Destroy(object IRole)
 {
     return(TblRole.Destroy(IRole) == 1);
 }
Esempio n. 3
0
 public bool Delete(object IRole)
 {
     return(TblRole.Delete(IRole) == 1);
 }