// <fileinfo name="EmployeeTerritoriesRow_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="EmployeeTerritoriesRow"/> that
/// represents a record in the <c>EmployeeTerritories</c> table.
/// </summary>
/// <remarks>
/// Do not change this source code manually. Update the <see cref="EmployeeTerritoriesRow"/>
/// class if you need to add or change some functionality.
/// </remarks>
public abstract class EmployeeTerritoriesRow_Base
{
private int _employeeID;
private string _territoryID;
/// <summary>
/// Initializes a new instance of the <see cref="EmployeeTerritoriesRow_Base"/> class.
/// </summary>
public EmployeeTerritoriesRow_Base()
{
// EMPTY
}
/// <summary>
/// Gets or sets the <c>EmployeeID</c> column value.
/// </summary>
/// <value>The <c>EmployeeID</c> column value.</value>
public int EmployeeID
{
get { return _employeeID; }
set { _employeeID = value; }
}
/// <summary>
/// Gets or sets the <c>TerritoryID</c> column value.
/// </summary>
/// <value>The <c>TerritoryID</c> column value.</value>
public string TerritoryID
{
get { return _territoryID; }
set { _territoryID = 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(" EmployeeID=");
dynStr.Append(EmployeeID);
dynStr.Append(" TerritoryID=");
dynStr.Append(TerritoryID);
return dynStr.ToString();
}
} // End of EmployeeTerritoriesRow_Base class
} // End of namespace