Ejemplo n.º 1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DataVersionBase 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 Name data to the class member
            _name = data._name;
            // assigns the Number data to the class member
            _number = data._number;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid          = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;


            RecalculateChecksum();
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(DataVersionBase dataVersionBase)
 {
     InnerRemove(dataVersionBase);
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(DataVersionBase dataVersionBase)
 {
     return(InnerAdd(dataVersionBase));
 }
Ejemplo n.º 4
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref DataVersionBase 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 Name data to the class member
            _name = data._name;
            // assigns the Number data to the class member
            _number = data._number;
            // assigns the LoanApplicationId data to the class member
            _loanapplicationid = data._loanapplicationid;
            _loanapplicationid_assigned = data._loanapplicationid_assigned;

            RecalculateChecksum();
        }
Ejemplo n.º 5
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(DataVersionBase dataVersionBase)
 {
     InnerRemove(dataVersionBase);
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(DataVersionBase dataVersionBase)
 {
     return InnerAdd(dataVersionBase);
 }