Class PageCoreData
Class for representing pages in a light weight fashion. This class only contains the common properties for pages.
Inheritance
Inherited Members
Namespace: EPiServer.DataAbstraction
Assembly: EPiServer.dll
Version: 8.11.0Syntax
[Obsolete("Have been replaced by class EPiServer.DataAbstraction.ContentCoreData")]
public class PageCoreDataConstructors
PageCoreData(IDataReader)
Initializes a new instance of the PageCoreData class from a System.Data.IDataReader.
Declaration
public PageCoreData(IDataReader reader)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Data.IDataReader | reader | The reader. | 
Properties
AutomaticLink
Gets or sets a value indicating whether [automatic link].
Declaration
public bool AutomaticLink { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
Changed
Gets or sets the time when the page was last changed.
Declaration
public DateTime Changed { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
Created
Gets or sets the time when the page was created.
Declaration
public DateTime Created { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
Deleted
Gets or sets a value indicating whether this PageCoreData is deleted.
Declaration
public bool Deleted { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
ExternalFolderID
Gets or sets the ID number for the associated page folder.
Declaration
public int ExternalFolderID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
FetchData
Gets or sets a value indicating whether this page is fetching data another page.
Declaration
public bool FetchData { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
ID
Gets or sets the ID number of the page (see ID).
Declaration
public int ID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
LinkUrl
Gets or sets the link URL. The URL is epxressed as a locally valid root-relative http path and query, including the appropriate ID. This is stored in the database, but can actually be derived from ID and PageTypeID.
Declaration
public string LinkUrl { get; set; }Property Value
| Type | Description | 
|---|---|
| System.String | The link URL. | 
MasterLanguageBranchID
Gets or sets the ID number for the master language branch.
Declaration
public int MasterLanguageBranchID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
PageGuid
Gets or sets the unique guid based identifier for the page.
Declaration
public Guid PageGuid { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | 
PageLinkGuid
Gets or sets the guid based page link.
Declaration
public Guid PageLinkGuid { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Guid | 
PageLinkID
Unused, use PageLinkGuid instead to get the guid based page link.
Declaration
[Obsolete("Use property PageLinkGuid instead to get the guid based page link", true)]
public int PageLinkID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
PageReference
Gets or sets the unique page identifier (PageReference) for the page.
Declaration
public PageReference PageReference { get; set; }Property Value
| Type | Description | 
|---|---|
| PageReference | 
PageTypeID
Gets or sets the page type identifier for the page (see ID).
Declaration
public int PageTypeID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
ParentID
Gets or sets the ID number specifying the parent page.
Declaration
public int ParentID { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
PendingPublish
Gets or sets a value indicating whether the page is pending publish.
Declaration
public bool PendingPublish { get; set; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
 | 
Saved
Gets or sets the time when the page was last save.
Declaration
public DateTime Saved { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
StartPublish
Gets or sets the time when the page will be published.
Declaration
public DateTime StartPublish { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
StopPublish
Gets or sets the time when the page will stop to be published.
Declaration
public DateTime StopPublish { get; set; }Property Value
| Type | Description | 
|---|---|
| System.DateTime | 
Methods
Load(ContentReference)
Loads a PageCoreData instance specified by a page reference.
Declaration
[Obsolete("Use IContentCoreDataLoader.Load instead")]
public static ContentCoreData Load(ContentReference contentReference)Parameters
| Type | Name | Description | 
|---|---|---|
| ContentReference | contentReference | The content reference. | 
Returns
| Type | Description | 
|---|---|
| ContentCoreData | A PageCoreData instance. | 
Load(Guid)
Loads a PageCoreData instance specified by a page guid.
Declaration
[Obsolete("Use IContentCoreDataLoader.Load instead")]
public static ContentCoreData Load(Guid guid)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Guid | guid | The page guid. | 
Returns
| Type | Description | 
|---|---|
| ContentCoreData | A PageCoreData instance. | 
