/// <summary> /// Sets the members of the class instance with data from the data layer framework. /// </summary> internal virtual void SetMembers(ref ContactPointBase 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_isnull = data._borrowerid_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 PreferenceIndicator data to the class member _preferenceindicator = data._preferenceindicator; _preferenceindicator_assigned = data._preferenceindicator_assigned; // assigns the RoleType data to the class member _roletype = data._roletype; _roletype_isnull = data._roletype_isnull; // 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(ContactPointBase contactPointBase) { InnerRemove(contactPointBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ContactPointBase contactPointBase) { return InnerAdd(contactPointBase); }
/// <summary> /// Adds a new object instance to the current collection set. /// </summary> public virtual int Add(ContactPointBase contactPointBase) { return(InnerAdd(contactPointBase)); }