public void Update(long PkIid, string FpSBranchID, string SFunctionName, string SDLLname, string SFormName, string SAssemblyName, bool?BEnable, string SDesc) { SysFunction item = new SysFunction(); item.MarkOld(); item.IsLoaded = true; item.PkIid = PkIid; item.FpSBranchID = FpSBranchID; item.SFunctionName = SFunctionName; item.SDLLname = SDLLname; item.SFormName = SFormName; item.SAssemblyName = SAssemblyName; item.BEnable = BEnable; item.SDesc = SDesc; item.Save(UserName); }
public void Insert(string FpSBranchID, string SFunctionName, string SDLLname, string SFormName, string SAssemblyName, bool?BEnable, string SDesc) { SysFunction item = new SysFunction(); item.FpSBranchID = FpSBranchID; item.SFunctionName = SFunctionName; item.SDLLname = SDLLname; item.SFormName = SFormName; item.SAssemblyName = SAssemblyName; item.BEnable = BEnable; item.SDesc = SDesc; item.Save(UserName); }