/// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(PropertyBase propertyBase)
 {
     InnerRemove(propertyBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(PropertyBase propertyBase)
 {
     return InnerAdd(propertyBase);
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(PropertyBase propertyBase)
 {
     InnerRemove(propertyBase);
 }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref PropertyBase data)
        {
            // store a reference to this as an Entity class instance.
            Entity thisent = data as Entity;
            // make sure to always call up to the base
            base.SetMembers(ref thisent);

            // assigns the LoanApplicationId data to the class member
            _loanapplicationid = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the StreetAddress data to the class member
            _streetaddress = data._streetaddress;
            // assigns the StreetAddress2 data to the class member
            _streetaddress2 = data._streetaddress2;
            // assigns the City data to the class member
            _city = data._city;
            // assigns the State data to the class member
            _state = data._state;
            // assigns the County data to the class member
            _county = data._county;
            // assigns the PostalCode data to the class member
            _postalcode = data._postalcode;
            // assigns the FinancedNumberOfUnits data to the class member
            _financednumberofunits = data._financednumberofunits;
            _financednumberofunits_isnull = data._financednumberofunits_isnull;
            // assigns the StructureBuiltYear data to the class member
            _structurebuiltyear = data._structurebuiltyear;
            _structurebuiltyear_isnull = data._structurebuiltyear_isnull;
            // assigns the AcquiredDate data to the class member
            _acquireddate = data._acquireddate;
            _acquireddate_isnull = data._acquireddate_isnull;
            // assigns the PlannedUnitDevelopmentIndicator data to the class member
            _plannedunitdevelopmentindicator = data._plannedunitdevelopmentindicator;
            _plannedunitdevelopmentindicator_assigned = data._plannedunitdevelopmentindicator_assigned;
            // assigns the AcreageNumber data to the class member
            _acreagenumber = data._acreagenumber;
            _acreagenumber_isnull = data._acreagenumber_isnull;
            // assigns the BuildingStatusType data to the class member
            _buildingstatustype = data._buildingstatustype;
            _buildingstatustype_isnull = data._buildingstatustype_isnull;
            // assigns the GSEPropertyType data to the class member
            _gsepropertytype = data._gsepropertytype;
            _gsepropertytype_isnull = data._gsepropertytype_isnull;

            RecalculateChecksum();
        }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(PropertyBase propertyBase)
 {
     return(InnerAdd(propertyBase));
 }