// <fileinfo name="CustomersRow_Base.cs">
//      <copyright>
//          All rights reserved.
//      </copyright>
//      <remarks>
//          Do not change this source code manually. Changes to this file may 
//          cause incorrect behavior and will be lost if the code is regenerated.
//      </remarks>
//      <generator rewritefile="True" infourl="http://www.SharpPower.com">RapTier</generator>
// </fileinfo>

using System;

namespace MyCompany.MyProject.Db
{
    /// <summary>
    /// The base class for <see cref="CustomersRow"/> that 
    /// represents a record in the <c>Customers</c> table.
    /// </summary>
    /// <remarks>
    /// Do not change this source code manually. Update the <see cref="CustomersRow"/>
    /// class if you need to add or change some functionality.
    /// </remarks>
    public abstract class CustomersRow_Base
    {
        private string _customerID;
        private string _companyName;
        private string _contactName;
        private string _contactTitle;
        private string _address;
        private string _city;
        private string _region;
        private string _postalCode;
        private string _country;
        private string _phone;
        private string _fax;

        /// <summary>
        /// Initializes a new instance of the <see cref="CustomersRow_Base"/> class.
        /// </summary>
        public CustomersRow_Base()
        {
            // EMPTY
        }

        /// <summary>
        /// Gets or sets the <c>CustomerID</c> column value.
        /// </summary>
        /// <value>The <c>CustomerID</c> column value.</value>
        public string CustomerID
        {
            get { return _customerID; }
            set { _customerID = value; }
        }

        /// <summary>
        /// Gets or sets the <c>CompanyName</c> column value.
        /// </summary>
        /// <value>The <c>CompanyName</c> column value.</value>
        public string CompanyName
        {
            get { return _companyName; }
            set { _companyName = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ContactName</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>ContactName</c> column value.</value>
        public string ContactName
        {
            get { return _contactName; }
            set { _contactName = value; }
        }

        /// <summary>
        /// Gets or sets the <c>ContactTitle</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>ContactTitle</c> column value.</value>
        public string ContactTitle
        {
            get { return _contactTitle; }
            set { _contactTitle = value; }
        }

        /// <summary>
        /// Gets or sets the <c>Address</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>Address</c> column value.</value>
        public string Address
        {
            get { return _address; }
            set { _address = value; }
        }

        /// <summary>
        /// Gets or sets the <c>City</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>City</c> column value.</value>
        public string City
        {
            get { return _city; }
            set { _city = value; }
        }

        /// <summary>
        /// Gets or sets the <c>Region</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>Region</c> column value.</value>
        public string Region
        {
            get { return _region; }
            set { _region = value; }
        }

        /// <summary>
        /// Gets or sets the <c>PostalCode</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>PostalCode</c> column value.</value>
        public string PostalCode
        {
            get { return _postalCode; }
            set { _postalCode = value; }
        }

        /// <summary>
        /// Gets or sets the <c>Country</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>Country</c> column value.</value>
        public string Country
        {
            get { return _country; }
            set { _country = value; }
        }

        /// <summary>
        /// Gets or sets the <c>Phone</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>Phone</c> column value.</value>
        public string Phone
        {
            get { return _phone; }
            set { _phone = value; }
        }

        /// <summary>
        /// Gets or sets the <c>Fax</c> column value.
        /// This column is nullable.
        /// </summary>
        /// <value>The <c>Fax</c> column value.</value>
        public string Fax
        {
            get { return _fax; }
            set { _fax = value; }
        }

        /// <summary>
        /// Returns the string representation of this instance.
        /// </summary>
        /// <returns>The string representation of this instance.</returns>
        public override string ToString()
        {
            System.Text.StringBuilder dynStr = new System.Text.StringBuilder(GetType().Name);
            dynStr.Append(':');
            dynStr.Append("  CustomerID=");
            dynStr.Append(CustomerID);
            dynStr.Append("  CompanyName=");
            dynStr.Append(CompanyName);
            dynStr.Append("  ContactName=");
            dynStr.Append(ContactName);
            dynStr.Append("  ContactTitle=");
            dynStr.Append(ContactTitle);
            dynStr.Append("  Address=");
            dynStr.Append(Address);
            dynStr.Append("  City=");
            dynStr.Append(City);
            dynStr.Append("  Region=");
            dynStr.Append(Region);
            dynStr.Append("  PostalCode=");
            dynStr.Append(PostalCode);
            dynStr.Append("  Country=");
            dynStr.Append(Country);
            dynStr.Append("  Phone=");
            dynStr.Append(Phone);
            dynStr.Append("  Fax=");
            dynStr.Append(Fax);
            return dynStr.ToString();
        }
    } // End of CustomersRow_Base class
} // End of namespace