Exemple #1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref CreditScoreBase 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 CreditScoreID data to the class member
            _creditscoreid = data._creditscoreid;
            // assigns the CreditReportIdentifier data to the class member
            _creditreportidentifier = data._creditreportidentifier;
            // assigns the CreditScoreDate data to the class member
            _creditscoredate        = data._creditscoredate;
            _creditscoredate_isnull = data._creditscoredate_isnull;
            // assigns the CreditScoreModelNameTypeOtherDescription data to the class member
            _creditscoremodelnametypeotherdescription = data._creditscoremodelnametypeotherdescription;
            // assigns the CreditScoreValue data to the class member
            _creditscorevalue        = data._creditscorevalue;
            _creditscorevalue_isnull = data._creditscorevalue_isnull;
            // assigns the BorrowerId data to the class member
            _borrowerid          = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the CreditRepositorySourceType data to the class member
            _creditrepositorysourcetype        = data._creditrepositorysourcetype;
            _creditrepositorysourcetype_isnull = data._creditrepositorysourcetype_isnull;
            // assigns the CreditScoreExclusionType data to the class member
            _creditscoreexclusiontype        = data._creditscoreexclusiontype;
            _creditscoreexclusiontype_isnull = data._creditscoreexclusiontype_isnull;
            // assigns the CreditScoreModelNameType data to the class member
            _creditscoremodelnametype        = data._creditscoremodelnametype;
            _creditscoremodelnametype_isnull = data._creditscoremodelnametype_isnull;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(CreditScoreBase creditScoreBase)
 {
     InnerRemove(creditScoreBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(CreditScoreBase creditScoreBase)
 {
     return(InnerAdd(creditScoreBase));
 }