Try our conversational search powered by Generative AI!

Class CategoryDB

This class supports the EPiServer infrastructure and is not intended to be used directly from your code.

Inheritance
System.Object
CategoryDB
Namespace: EPiServer.DataAccess
Assembly: EPiServer.dll
Version: 8.11.0
Syntax
[ServiceConfiguration]
public class CategoryDB : DataAccessBase

Constructors

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

Delete(Category)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public virtual void Delete(Category category)
Parameters
Type Name Description
Category category

GetRoot()

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public virtual Category GetRoot()
Returns
Type Description
Category

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

Save(Category)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public virtual void Save(Category category)
Parameters
Type Name Description
Category category

Save(Int32, Int32, CategoryList)

This member supports the EPiServer infrastructure and is not intended to be used directly from your code.

Declaration
public virtual 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 virtual 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

Extension Methods