Exemplo n.º 1
0
        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);
        }
Exemplo n.º 2
0
        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);
        }
Exemplo n.º 3
0
 public bool Destroy(object PkIid)
 {
     return(SysFunction.Destroy(PkIid) == 1);
 }
Exemplo n.º 4
0
 public bool Delete(object PkIid)
 {
     return(SysFunction.Delete(PkIid) == 1);
 }