Namespace DotNetNuke.Modules.Blog
Public Class EntryInfo
Implements DotNetNuke.Entities.Modules.IHydratable
... local property declarations
Region "Constructors"
Public Sub New()
End Sub
End Region
... Public Properties
Region "IHydratable Implementation"
Public Sub Fill(ByVal dr As System.Data.IDataReader) Implements Entities.Modules.IHydratable.Fill
EntryID = Convert.ToInt32(Null.SetNull(dr.Item("EntryID"), EntryID))
BlogID = Convert.ToInt32(Null.SetNull(dr.Item("BlogID"), BlogID))
Title = Convert.ToString(Null.SetNull(dr.Item("Title"), Title))
Description = Convert.ToString(Null.SetNull(dr.Item("Description"), Description))
Entry = Convert.ToString(Null.SetNull(dr.Item("Entry"), Entry))
AddedDate = Convert.ToDateTime(Null.SetNull(dr.Item("AddedDate"), AddedDate))
UserID = Convert.ToInt32(Null.SetNull(dr.Item("UserID"), UserID))
Published = Convert.ToBoolean(Null.SetNull(dr.Item("Published"), Published))
ViewCount = Convert.ToInt32(Null.SetNull(dr.Item("ViewCount"), ViewCount))
CommentCount = Convert.ToInt32(Null.SetNull(dr.Item("CommentCount"), CommentCount))
AllowComments = Convert.ToBoolean(Null.SetNull(dr.Item("AllowComments"), AllowComments))
DisplayCopyright = Convert.ToBoolean(Null.SetNull(dr.Item("DisplayCopyright"), DisplayCopyright))
Copyright = Convert.ToString(Null.SetNull(dr.Item("Copyright"), PermaLink))
PermaLink = Convert.ToString(Null.SetNull(dr.Item("PermaLink"), PermaLink))
LastModifiedDate = Convert.ToDateTime(Null.SetNull(dr.Item("LastModifiedDate"), LastModifiedDate))
End Sub
Public Property KeyID() As Integer Implements Entities.Modules.IHydratable.KeyID
Get
Return EntryID
End Get
Set(ByVal value As Integer)
EntryID = value
End Set
End Property
End Region
End Class
End Namespace