Class LanguageBranchDB
Inheritance
System.Object
LanguageBranchDB
Namespace: EPiServer.DataAccess.Internal
Assembly: EPiServer.dll
Version: 12.0.3Syntax
[ServiceConfiguration]
public class LanguageBranchDB : Object
Constructors
LanguageBranchDB(ServiceAccessor<IDatabaseExecutor>)
This member supports the EPiServer infrastructure and is not intended to be used directly from your code.
Declaration
public LanguageBranchDB(ServiceAccessor<IDatabaseExecutor> databaseHandler)
Parameters
Type | Name | Description |
---|---|---|
ServiceAccessor<IDatabaseExecutor> | 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 virtual 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 virtual IEnumerable<LanguageBranch> List()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<LanguageBranch> |
Save(LanguageBranch)
Saves the specified language branch.
Declaration
public virtual int Save(LanguageBranch languageBranch)
Parameters
Type | Name | Description |
---|---|---|
LanguageBranch | languageBranch | The language branch. |
Returns
Type | Description |
---|---|
System.Int32 |