Пример #1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref CurrentIncomeBase 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 BorrowerId data to the class member
            _borrowerid          = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the IncomeType data to the class member
            _incometype          = data._incometype;
            _incometype_assigned = data._incometype_assigned;
            // assigns the MonthlyTotalAmount data to the class member
            _monthlytotalamount          = data._monthlytotalamount;
            _monthlytotalamount_assigned = data._monthlytotalamount_assigned;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(CurrentIncomeBase currentIncomeBase)
 {
     InnerRemove(currentIncomeBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(CurrentIncomeBase currentIncomeBase)
 {
     return InnerAdd(currentIncomeBase);
 }
Пример #4
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(CurrentIncomeBase currentIncomeBase)
 {
     InnerRemove(currentIncomeBase);
 }
Пример #5
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(CurrentIncomeBase currentIncomeBase)
 {
     return(InnerAdd(currentIncomeBase));
 }
Пример #6
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref CurrentIncomeBase 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 BorrowerId data to the class member
            _borrowerid = data._borrowerid;
            _borrowerid_assigned = data._borrowerid_assigned;
            // assigns the IncomeType data to the class member
            _incometype = data._incometype;
            _incometype_assigned = data._incometype_assigned;
            // assigns the MonthlyTotalAmount data to the class member
            _monthlytotalamount = data._monthlytotalamount;
            _monthlytotalamount_assigned = data._monthlytotalamount_assigned;

            RecalculateChecksum();
        }