Example #1
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref AppraiserBase 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 CompanyName data to the class member
            _companyname = data._companyname;
            // assigns the LicenseIdentifier data to the class member
            _licenseidentifier = data._licenseidentifier;
            // assigns the LicenseState data to the class member
            _licensestate = data._licensestate;


            RecalculateChecksum();
        }
Example #2
0
        /// <summary>
        /// Sets the members of the class instance with data from the data layer framework.
        /// </summary>
        internal virtual void SetMembers(ref AppraiserBase 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 CompanyName data to the class member
            _companyname = data._companyname;
            // assigns the LicenseIdentifier data to the class member
            _licenseidentifier = data._licenseidentifier;
            // assigns the LicenseState data to the class member
            _licensestate = data._licensestate;

            RecalculateChecksum();
        }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(AppraiserBase appraiserBase)
 {
     InnerRemove(appraiserBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(AppraiserBase appraiserBase)
 {
     return(InnerAdd(appraiserBase));
 }
 /// <summary>
 /// Removes an object instance from the current collection set of items.
 /// </summary>
 public virtual void Remove(AppraiserBase appraiserBase)
 {
     InnerRemove(appraiserBase);
 }
 /// <summary>
 /// Adds a new object instance to the current collection set.
 /// </summary>
 public virtual int Add(AppraiserBase appraiserBase)
 {
     return InnerAdd(appraiserBase);
 }