A page is much like a post, but is not part of the
blog chronology and is more static in nature.
Namespace: BlogEngine.Core
Remarks
Pages can be used for "About" pages or other static
information.
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 | Properties | Methods | Events |
| Member | Description | |
|---|---|---|
| PagePageNew()() |
The contructor sets default values.
| |
| AbsoluteLink |
The absolute URI to the path.
| |
| AddRule(String, String, Boolean) |
Add or remove a broken rule.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Content |
Gets or sets the Description or the object.
| |
| DataDelete()() |
Deletes the page from the current BlogProvider.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataDelete()().) | |
| DataInsert()() |
Inserts a new page to current BlogProvider.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataInsert()().) | |
| DataSelect(Guid) |
Retrieves a page form the BlogProvider
based on the specified id.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataSelect(KEY).) | |
| DataUpdate()() |
Updates the object in its data store.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::DataUpdate()().) | |
| DateCreated |
The date on which the instance was created.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| DateModified |
The date on which the instance was modified.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Delete()() |
Marks the object for deletion. It will then be
deleted when the object's Save() method is called.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Description |
Gets or sets the Description or the object.
| |
| DirtyProperties |
A collection of the properties that have
been marked as being dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Dispose(Boolean) |
Disposes the object and frees ressources for the Garbage Collector.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Equals(Object) |
Comapares this object with another
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Finalize()() | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) | |
| GetFrontPage()() |
Returns the front page if any is available.
| |
| GetHashCode()() |
A uniquely key to identify this particullar instance of the class
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| GetPage(Guid) |
Returns a page based on the specified id.
| |
| GetType()() | Gets the Type of the current instance. (Inherited from Object.) | |
| Id |
Gets the unique Identification of the object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDeleted |
Gets if this object is marked for deletion.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDirty |
Gets if this object's data has been changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsDisposed |
Gets or sets if the object has been disposed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.)
| |
| IsFrontPage |
Gets or sets whether or not this page should be displayed on the front page.
| |
| IsNew |
Gets if this is a new object, False if it is a pre-existing object.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsPropertyDirty(String) |
Check whether or not the specified property has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsPropertyDirty(array<String>[]()) |
Check whether or not the specified properties has been changed
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsPublished |
Gets or sets whether or not this page should be published.
| |
| IsValid |
Gets whether the object is valid or not.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| IsVisible |
Gets whether or not this page should be shown
| |
| Keywords |
Gets or sets the Keywords or the object.
| |
| MarkDirty(String) |
Marks an object as being dirty, or changed.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MarkedDirty |
Occurs when this instance is marked dirty.
It means the instance has been changed but not saved.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MarkOld()() |
Marks the object as being an clean,
which means not dirty.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| MemberwiseClone()() | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| OnMarkedDirty()() |
Raises the MarkedDirty event safely.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| OnServing(ServingEventArgs) |
Raises the Serving event
| |
| OnServing(Page, ServingEventArgs) |
Raises the event in a safe way
| |
| Pages |
Gets an unsorted list of all pages.
| |
| Parent |
Gets or sets the parent of the Page. It is used to construct the
hierachy of the pages.
| |
| RelativeLink |
The relative URI to the page. For in-site use only.
| |
| Save()() |
Saves the object to the database.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| Serving |
Occurs when the page is being served to the output stream.
| |
| ShowInList |
Gets or sets whether or not this page should be in the sitemap list.
| |
| Title |
Gets or sets the Title or the object.
| |
| ToString()() | (Overrides Object..::ToString()().) | |
| ValidationMessage |
If the object has broken business rules, use this property to get access
to the different validation messages.
(Inherited from BusinessBase<(Of <TYPE, KEY>)>.) | |
| ValidationRules()() |
Validates the properties on the Page.
(Overrides BusinessBase<(Of <TYPE, KEY>)>..::ValidationRules()().) |
Inheritance Hierarchy
See Also
BlogEngine.Core Namespace