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); }
public bool Destroy(object IRole) { return(TblRole.Destroy(IRole) == 1); }
public bool Delete(object IRole) { return(TblRole.Delete(IRole) == 1); }