Try our conversational search powered by Generative AI!

Class ContentCoreDataDB

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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: 11.20.7
Syntax
[ServiceConfiguration(typeof(IContentCoreDataLoader))]
public class ContentCoreDataDB : DataAccessBase, IContentCoreDataBatchLoader, IContentCoreDataLoader

Constructors

ContentCoreDataDB(IDatabaseExecutor, DatabaseDateTimeHandler)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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>)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. 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