Try our conversational search powered by Generative AI!

Class LanguageBranchDB

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

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

Constructors

LanguageBranchDB(IDatabaseHandler)

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

Declaration
public LanguageBranchDB(IDatabaseHandler databaseHandler)
Parameters
Type Name Description
IDatabaseHandler databaseHandler

Methods

Delete(Int32)

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

Declaration
public void Delete(int id)
Parameters
Type Name Description
System.Int32 id

The id of the language.

List()

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

Save(LanguageBranch)

Saves the specified language branch.

Declaration
public int Save(LanguageBranch languageBranch)
Parameters
Type Name Description
LanguageBranch languageBranch

The language branch.

Returns
Type Description
System.Int32

Save(Int32, String, String, Int32, String, String, Boolean)

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

Declaration
public int Save(int id, string name, string languageId, int sortIndex, string iconPath, string urlSegment, bool enabled)
Parameters
Type Name Description
System.Int32 id
System.String name
System.String languageId
System.Int32 sortIndex
System.String iconPath
System.String urlSegment
System.Boolean enabled
Returns
Type Description
System.Int32

Save(Int32, String, String, Int32, String, String, Boolean, AccessControlList)

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

Declaration
public int Save(int id, string name, string languageId, int sortIndex, string iconPath, string urlSegment, bool enabled, AccessControlList acl)
Parameters
Type Name Description
System.Int32 id
System.String name
System.String languageId
System.Int32 sortIndex
System.String iconPath
System.String urlSegment
System.Boolean enabled
AccessControlList acl
Returns
Type Description
System.Int32

Extension Methods