Class ContentVersionDB
This class supports the EPiServer infrastructure and is not intended to be used directly from your code.
Inherited Members
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 7.19.2Syntax
public class ContentVersionDB : DataAccessBaseConstructors
ContentVersionDB(IDatabaseHandler)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public ContentVersionDB(IDatabaseHandler databaseHandler)Parameters
| Type | Name | Description | 
|---|---|---|
| IDatabaseHandler | databaseHandler | 
Methods
DeleteVersion(Int32)
Delete a single version of Content This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void DeleteVersion(int workID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | workID | The work ID. | 
Remarks
The published version of content cannot be deleted
List(Int32)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet List(int contentID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | contentID | 
Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | 
ListDelayedPublish()
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet ListDelayedPublish()Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | 
ListDelayedPublish(Int32)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet ListDelayedPublish(int contentID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | contentID | 
Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | 
SaveCommonDraft(Int32)
Saves the common draft.
Declaration
public void SaveCommonDraft(int workID)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | workID | The work ID. | 
