Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Class CatalogLanguageSettingDB

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

Represents Database access class to manipulate Catalog Language Setting.

Inheritance
System.Object
CatalogLanguageSettingDB
Namespace: EPiServer.Commerce.Catalog.DataAccess.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 14.26.0
Syntax
public class CatalogLanguageSettingDB : Object

Constructors

CatalogLanguageSettingDB(IConnectionStringHandler, ReferenceConverter)

Initializes a new instance of the CatalogLanguageSettingDB class.

Declaration
public CatalogLanguageSettingDB(IConnectionStringHandler connectionStringHandler, ReferenceConverter referenceConverter)
Parameters
Type Name Description
IConnectionStringHandler connectionStringHandler

The connection string handler.

ReferenceConverter referenceConverter

The reference converter.

Methods

Delete(Int32, Int32, String)

Declaration
public virtual void Delete(int objectId, int objectTypeId, string language)
Parameters
Type Name Description
System.Int32 objectId
System.Int32 objectTypeId
System.String language

List(Nullable<Int32>, Nullable<Int32>, String)

Declaration
public virtual IEnumerable<ContentLanguageSetting> List(Nullable<int> objectId, Nullable<int> objectTypeId, string language)
Parameters
Type Name Description
System.Nullable<System.Int32> objectId
System.Nullable<System.Int32> objectTypeId
System.String language
Returns
Type Description
System.Collections.Generic.IEnumerable<EPiServer.DataAbstraction.ContentLanguageSetting>

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

Declaration
public virtual void Save(int objectId, int objectTypeId, string languageBranch, string replacementBranch, string languageBranchFallback, bool active)
Parameters
Type Name Description
System.Int32 objectId
System.Int32 objectTypeId
System.String languageBranch
System.String replacementBranch
System.String languageBranchFallback
System.Boolean active