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.
Implements
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 9.12.2Syntax
[ServiceConfiguration(typeof(IContentCoreDataLoader))]
public class ContentCoreDataDB : DataAccessBase, IContentCoreDataLoader
Constructors
ContentCoreDataDB(IDatabaseHandler, DatabaseDateTimeHandler)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public ContentCoreDataDB(IDatabaseHandler databaseHandler, DatabaseDateTimeHandler databaseDateTimeHandler)
Parameters
Type | Name | Description |
---|---|---|
IDatabaseHandler | 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(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 |