RecordClassAssignAllReader Method |
Namespace: Dynamicweb.News
Public Class TemplateClass Inherits RecordClass Private _TemplateID As System.Int32 Property TemplateID() As System.Int32 Get Return _TemplateID End Get Set(ByVal Value As System.Int32) _TemplateID = Value End Set End Property Overrides Sub AssignAllReader(ByVal drTemplate As IDataReader) If FieldExists(drTemplate, "TemplateID") Then _ TemplateID = CType(drTemplate("TemplateID"), System.Int32) End sub End Class