' <fileinfo name="CurrentProductListRow_Base.vb">
' <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>
Option Strict Off
Option Explicit On
Imports System
''' <summary>
''' The base class for <see cref="CurrentProductListRow"/> that
''' represents a record in the <c>Current Product List</c> view.
''' </summary>
''' <remarks>
''' Do not change this source code manually. Update the <see cref="CurrentProductListRow"/>
''' class if you need to add or change some functionality.
''' </remarks>
Public MustInherit Class CurrentProductListRow_Base
Private _productID As Integer
Private _productName As String
''' <summary>
''' Initializes a new instance of the <see cref="CurrentProductListRow_Base"/> class.
''' </summary>
Public Sub New()
MyBase.New()
' EMPTY
End Sub
''' <summary>
''' Gets or sets the <c>ProductID</c> column value.
''' </summary>
''' <value>The <c>ProductID</c> column value.</value>
Public Property ProductID As Integer
Get
Return _productID
End Get
Set
_productID = value
End Set
End Property
''' <summary>
''' Gets or sets the <c>ProductName</c> column value.
''' </summary>
''' <value>The <c>ProductName</c> column value.</value>
Public Property ProductName As String
Get
Return _productName
End Get
Set
_productName = value
End Set
End Property
''' <summary>
''' Returns the string representation of this instance.
''' </summary>
''' <returns>The string representation of this instance.</returns>
Public Overrides Function ToString() As String
Dim dynStr As System.Text.StringBuilder = New System.Text.StringBuilder(Me.GetType().Name)
dynStr.Append(":")
dynStr.Append(" ProductID=")
dynStr.Append(Me.ProductID)
dynStr.Append(" ProductName=")
dynStr.Append(Me.ProductName)
Return dynStr.ToString()
End Function
End Class