/// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref GenderTypeBase 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;
            _id_assigned = data._id_assigned;
            // assigns the Name data to the class member
            _name = data._name;
            // assigns the EnumeratedName data to the class member
            _enumeratedname = data._enumeratedname;
            // assigns the Description data to the class member
            _description = data._description;


            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(GenderTypeBase genderTypeBase)
 {
     InnerRemove(genderTypeBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(GenderTypeBase genderTypeBase)
 {
     return InnerAdd(genderTypeBase);
 }
Exemple #4
0
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(GenderTypeBase genderTypeBase)
 {
     InnerRemove(genderTypeBase);
 }
Exemple #5
0
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(GenderTypeBase genderTypeBase)
 {
     return(InnerAdd(genderTypeBase));
 }
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref GenderTypeBase 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;
            _id_assigned = data._id_assigned;
            // assigns the Name data to the class member
            _name = data._name;
            // assigns the EnumeratedName data to the class member
            _enumeratedname = data._enumeratedname;
            // assigns the Description data to the class member
            _description = data._description;

            RecalculateChecksum();
        }