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