Class CategoryDB
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 CategoryDB : DataAccessBaseConstructors
CategoryDB(IDatabaseHandler)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public CategoryDB(IDatabaseHandler databaseHandler)Parameters
| Type | Name | Description | 
|---|---|---|
| IDatabaseHandler | databaseHandler | The database handler. | 
Methods
List()
Get all categories. This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet List()Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | List with category IDs and names, sorted by category sort order. | 
Load(Int32, Int32, String, String)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public virtual CategoryList Load(int contentID, int versionID, string scopeName, string languageBranch)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | contentID | |
| System.Int32 | versionID | |
| System.String | scopeName | |
| System.String | languageBranch | 
Returns
| Type | Description | 
|---|---|
| CategoryList | 
LoadTree()
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet LoadTree()Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | 
Save(DataSet)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public DataSet Save(DataSet data)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Data.DataSet | data | 
Returns
| Type | Description | 
|---|---|
| System.Data.DataSet | 
Save(Int32, Int32, CategoryList)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void Save(int pageID, int pageWorkID, CategoryList category)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | pageID | |
| System.Int32 | pageWorkID | |
| CategoryList | category | 
Save(Int32, Int32, CategoryList, String)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public void Save(int pageID, int pageWorkID, CategoryList category, string languageBranch)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | pageID | |
| System.Int32 | pageWorkID | |
| CategoryList | category | |
| System.String | languageBranch | 
