// <fileinfo name="CategoriesRow_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="CategoriesRow"/> that
/// represents a record in the <c>Categories</c> table.
/// </summary>
/// <remarks>
/// Do not change this source code manually. Update the <see cref="CategoriesRow"/>
/// class if you need to add or change some functionality.
/// </remarks>
public abstract class CategoriesRow_Base
{
private int _categoryID;
private string _categoryName;
private string _description;
private byte[] _picture;
/// <summary>
/// Initializes a new instance of the <see cref="CategoriesRow_Base"/> class.
/// </summary>
public CategoriesRow_Base()
{
// EMPTY
}
/// <summary>
/// Gets or sets the <c>CategoryID</c> column value.
/// </summary>
/// <value>The <c>CategoryID</c> column value.</value>
public int CategoryID
{
get { return _categoryID; }
set { _categoryID = value; }
}
/// <summary>
/// Gets or sets the <c>CategoryName</c> column value.
/// </summary>
/// <value>The <c>CategoryName</c> column value.</value>
public string CategoryName
{
get { return _categoryName; }
set { _categoryName = value; }
}
/// <summary>
/// Gets or sets the <c>Description</c> column value.
/// This column is nullable.
/// </summary>
/// <value>The <c>Description</c> column value.</value>
public string Description
{
get { return _description; }
set { _description = value; }
}
/// <summary>
/// Gets or sets the <c>Picture</c> column value.
/// This column is nullable.
/// </summary>
/// <value>The <c>Picture</c> column value.</value>
public byte[] Picture
{
get { return _picture; }
set { _picture = 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(" CategoryID=");
dynStr.Append(CategoryID);
dynStr.Append(" CategoryName=");
dynStr.Append(CategoryName);
dynStr.Append(" Description=");
dynStr.Append(Description);
return dynStr.ToString();
}
} // End of CategoriesRow_Base class
} // End of namespace