A page is much like a post, but is not part of the blog chronology and is more static in nature.

Remarks

Pages can be used for "About" pages or other static information.

Namespace: BlogEngine.Core
Assembly:  BlogEngine.Core (in BlogEngine.Core.dll)
Version: 1.2.0.0

Syntax

         
 C#  Visual Basic  Visual C++ 
public class Page : BusinessBase<Page, Guid>, IPublishable
Public Class Page _
	Inherits BusinessBase(Of Page, Guid) _
	Implements IPublishable
public ref class Page : public BusinessBase<Page^, Guid>, 
	IPublishable

Members

               
 All Members  Constructors Public method  Properties Public property  Methods Public method  Events Public event 
 Public

 Protected
 Instance

 Static Static member
 Declared

 Inherited
 XNA Framework Only Supported by the XNA Framework

 .NET Compact Framework Only Supported by the .NET Compact Framework

 MemberDescription
Public methodPagePageNew()()
The contructor sets default values.
Public propertyAbsoluteLink
The absolute URI to the path.
Protected methodAddRule(String, String, Boolean)
Add or remove a broken rule.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyContent
Gets or sets the Description or the object.
Protected methodDataDelete()()
Deletes the page from the current BlogProvider.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataDelete()().)
Protected methodDataInsert()()
Inserts a new page to current BlogProvider.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataInsert()().)
Protected methodDataSelect(Guid)
Retrieves a page form the BlogProvider based on the specified id.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataSelect(KEY).)
Protected methodDataUpdate()()
Updates the object in its data store.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataUpdate()().)
Public propertyDateCreated
The date on which the instance was created.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyDateModified
The date on which the instance was modified.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public methodDelete()()
Marks the object for deletion. It will then be deleted when the object's Save() method is called.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyDescription
Gets or sets the Description or the object.
Protected propertyDirtyProperties
A collection of the properties that have been marked as being dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodDispose(Boolean)
Disposes the object and frees ressources for the Garbage Collector.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public methodEquals(Object)
Comapares this object with another
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodFinalize()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberGetFrontPage()()
Returns the front page if any is available.
Public methodGetHashCode()()
A uniquely key to identify this particullar instance of the class
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public methodStatic memberGetPage(Guid)
Returns a page based on the specified id.
Public methodGetType()()
Gets the Type of the current instance.
(Inherited from Object.)
Public propertyId
Gets the unique Identification of the object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyIsDeleted
Gets if this object is marked for deletion.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyIsDirty
Gets if this object's data has been changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected propertyIsDisposed
Gets or sets if the object has been disposed.

Remarks

If the objects is disposed, it must not be disposed a second time. The IsDisposed property is set the first time the object is disposed. If the IsDisposed property is true, then the Dispose() method will not dispose again. This help not to prolong the object's life if the Garbage Collector.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyIsFrontPage
Gets or sets whether or not this page should be displayed on the front page.
Public propertyIsNew
Gets if this is a new object, False if it is a pre-existing object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodIsPropertyDirty(String)
Check whether or not the specified property has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodIsPropertyDirty(array<String>[]())
Check whether or not the specified properties has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyIsPublished
Gets or sets whether or not this page should be published.
Public propertyIsValid
Gets whether the object is valid or not.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public propertyIsVisible
Gets whether or not this page should be shown
Public propertyKeywords
Gets or sets the Keywords or the object.
Protected methodMarkDirty(String)
Marks an object as being dirty, or changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public eventMarkedDirty
Occurs when this instance is marked dirty. It means the instance has been changed but not saved.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public methodMarkOld()()
Marks the object as being an clean, which means not dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodMemberwiseClone()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnMarkedDirty()()
Raises the MarkedDirty event safely.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public methodOnServing(ServingEventArgs)
Raises the Serving event
Public methodStatic memberOnServing(Page, ServingEventArgs)
Raises the event in a safe way
Public propertyStatic memberPages
Gets an unsorted list of all pages.
Public propertyParent
Gets or sets the parent of the Page. It is used to construct the hierachy of the pages.
Public propertyRelativeLink
The relative URI to the page. For in-site use only.
Public methodSave()()
Saves the object to the database.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Public eventStatic memberServing
Occurs when the page is being served to the output stream.
Public propertyShowInList
Gets or sets whether or not this page should be in the sitemap list.
Public propertyTitle
Gets or sets the Title or the object.
Public methodToString()()
Returns a String that represents the current Object.
(Overrides Object..::ToString()().)
Public propertyValidationMessage
If the object has broken business rules, use this property to get access to the different validation messages.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
Protected methodValidationRules()()
Validates the properties on the Page.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::ValidationRules()().)

Inheritance Hierarchy

System..::Object
  BlogEngine.Core..::BusinessBase<(Of <Page, Guid>)>
    BlogEngine.Core..::Page

See Also

BlogEngine.Core Namespace