示例#1
0
        public void Insert(string PkSAdminID, string FpSBranchID, string PkSCreator, string SPWD, int?IMonth, int?IYear)
        {
            SysAdministrator item = new SysAdministrator();

            item.PkSAdminID = PkSAdminID;

            item.FpSBranchID = FpSBranchID;

            item.PkSCreator = PkSCreator;

            item.SPWD = SPWD;

            item.IMonth = IMonth;

            item.IYear = IYear;


            item.Save(UserName);
        }
示例#2
0
        public void Update(string PkSAdminID, string FpSBranchID, string PkSCreator, string SPWD, int?IMonth, int?IYear)
        {
            SysAdministrator item = new SysAdministrator();

            item.MarkOld();
            item.IsLoaded = true;

            item.PkSAdminID = PkSAdminID;

            item.FpSBranchID = FpSBranchID;

            item.PkSCreator = PkSCreator;

            item.SPWD = SPWD;

            item.IMonth = IMonth;

            item.IYear = IYear;

            item.Save(UserName);
        }