Пример #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);
        }
Пример #3
0
 public bool Destroy(object PkSAdminID)
 {
     return(SysAdministrator.Destroy(PkSAdminID) == 1);
 }