November Happy Hour will be moved to Thursday December 5th.

Class ContentCoreDataDB

Get the core Content data from the database. This should be a very fast operation, getting columns from a single row with an indexed unique column as the lookup key.

Inheritance
System.Object
ContentCoreDataDB
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 12.0.3
Syntax
[ServiceConfiguration]
public class ContentCoreDataDB : DataAccessBase, IContentCoreDataBatchLoader, IContentCoreDataLoader

Constructors

ContentCoreDataDB(IDatabaseExecutor, DatabaseDateTimeHandler)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public ContentCoreDataDB(IDatabaseExecutor databaseHandler, DatabaseDateTimeHandler databaseDateTimeHandler)
Parameters
Type Name Description
IDatabaseExecutor databaseHandler
DatabaseDateTimeHandler databaseDateTimeHandler

Methods

CreateReference(Boolean, Int32, Int32)

Declaration
protected ContentReference CreateReference(bool isForPage, int id, int version = 0)
Parameters
Type Name Description
System.Boolean isForPage
System.Int32 id
System.Int32 version
Returns
Type Description
ContentReference

Load(IEnumerable<Guid>)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public IEnumerable<ContentCoreData> Load(IEnumerable<Guid> guids)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Guid> guids
Returns
Type Description
System.Collections.Generic.IEnumerable<ContentCoreData>

Load(IEnumerable<Int32>)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public IEnumerable<ContentCoreData> Load(IEnumerable<int> contentIDs)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<System.Int32> contentIDs
Returns
Type Description
System.Collections.Generic.IEnumerable<ContentCoreData>

Load(Guid)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public ContentCoreData Load(Guid guid)
Parameters
Type Name Description
System.Guid guid
Returns
Type Description
ContentCoreData

Load(Int32)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public ContentCoreData Load(int contentID)
Parameters
Type Name Description
System.Int32 contentID
Returns
Type Description
ContentCoreData

Implements

Extension Methods