public void Update(string PkSAdminID,string FpSBranchID,string PkSCreator,string SPWD,int? IMonth,int? IYear,string Website,byte[] Logo)
        {
            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.Website = Website;

            item.Logo = Logo;

            item.Save(UserName);
        }
Exemplo n.º 2
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);
	    }