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
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
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
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
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
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
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
Implements
Extension Methods