/// <summary> /// Sets the internal members with data from a compatible instance. /// </summary> /// <param name="data">The compatible object type.</param> internal override void SetMembers(ref MISMO.Entities.LoanPurposeBase data) { // first call up to base base.SetMembers(ref data); MISMO.BusinessObjects.ConstructionRefinanceDataCollection conscol = this.GetConstructionRefinanceDataCollection(); if (conscol != null && conscol.Count > 0) { _consrefidata = conscol[0]; } // now recalculate the checksum RecalculateChecksum(); }
/// <summary> /// Sets the internal members with data from a compatible instance. /// </summary> /// <param name="data">The compatible object type.</param> internal override void SetMembers(ref MISMO.Entities.LoanPurposeBase data) { // first call up to base base.SetMembers (ref data); MISMO.BusinessObjects.ConstructionRefinanceDataCollection conscol = this.GetConstructionRefinanceDataCollection(); if (conscol != null && conscol.Count > 0) { _consrefidata = conscol[0]; } // now recalculate the checksum RecalculateChecksum(); }