Esempio n. 1
0
        public void Update(long PkIid, string FpSBranchID, string SFunctionName, string SDLLname, string SFormName,
                           string SAssemblyName, bool?BEnable, string SParameterList, string SDesc)
        {
            var item = new TblFunction();

            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.SParameterList = SParameterList;

            item.SDesc = SDesc;

            item.Save(UserName);
        }
Esempio n. 2
0
        public void Insert(string FpSBranchID, string SFunctionName, string SDLLname, string SFormName,
                           string SAssemblyName, bool?BEnable, string SParameterList, string SDesc)
        {
            var item = new TblFunction();

            item.FpSBranchID = FpSBranchID;

            item.SFunctionName = SFunctionName;

            item.SDLLname = SDLLname;

            item.SFormName = SFormName;

            item.SAssemblyName = SAssemblyName;

            item.BEnable = BEnable;

            item.SParameterList = SParameterList;

            item.SDesc = SDesc;


            item.Save(UserName);
        }
Esempio n. 3
0
 public bool Destroy(object PkIid)
 {
     return(TblFunction.Destroy(PkIid) == 1);
 }
Esempio n. 4
0
 public bool Delete(object PkIid)
 {
     return(TblFunction.Delete(PkIid) == 1);
 }