示例#1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref MortgageScoreBase 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 Id data to the class member
            _id = data._id;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid          = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the Date data to the class member
            _date        = data._date;
            _date_isnull = data._date_isnull;
            // assigns the TypeOtherDescription data to the class member
            _typeotherdescription = data._typeotherdescription;
            // assigns the Value data to the class member
            _value = data._value;
            // assigns the Type data to the class member
            _type        = data._type;
            _type_isnull = data._type_isnull;


            RecalculateChecksum();
        }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref MortgageScoreBase 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 Id data to the class member
            _id = data._id;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;
            // assigns the Date data to the class member
            _date = data._date;
            _date_isnull = data._date_isnull;
            // assigns the TypeOtherDescription data to the class member
            _typeotherdescription = data._typeotherdescription;
            // assigns the Value data to the class member
            _value = data._value;
            // assigns the Type data to the class member
            _type = data._type;
            _type_isnull = data._type_isnull;

            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(MortgageScoreBase mortgageScoreBase)
 {
     InnerRemove(mortgageScoreBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(MortgageScoreBase mortgageScoreBase)
 {
     return InnerAdd(mortgageScoreBase);
 }
示例#5
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(MortgageScoreBase mortgageScoreBase)
 {
     InnerRemove(mortgageScoreBase);
 }
示例#6
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(MortgageScoreBase mortgageScoreBase)
 {
     return(InnerAdd(mortgageScoreBase));
 }