November Happy Hour will be moved to Thursday December 5th.

Class CmsDatabaseSchemaUpdater

This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this. Updates all scripts from EPiServer.Commerce.Resources.SqlUpdateCMSScript.zip embeded resource inside the EPiServer.Business.Commerce.

Inheritance
System.Object
CmsDatabaseSchemaUpdater
Implements
EPiServer.Data.SchemaUpdates.ISchemaUpdater
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Commerce.Internal
Assembly: EPiServer.Business.Commerce.dll
Version: 12.17.2
Syntax
public class CmsDatabaseSchemaUpdater : AuxiliarySchemaUpdaterBase, ISchemaUpdater

Constructors

CmsDatabaseSchemaUpdater(IDatabaseExecutorFactory, ScriptExecutor, IConnectionStringHandler, EPiServerFrameworkSection)

Initializes a new instance of the CmsDatabaseSchemaUpdater class.

Declaration
public CmsDatabaseSchemaUpdater(IDatabaseExecutorFactory databaseExecutorFactory, ScriptExecutor scriptExecutor, IConnectionStringHandler connectionStringHandler, EPiServerFrameworkSection frameworkSection)
Parameters
Type Name Description
EPiServer.Data.Providers.IDatabaseExecutorFactory databaseExecutorFactory

The database executor factory.

EPiServer.Data.SchemaUpdates.ScriptExecutor scriptExecutor

The script executor.

IConnectionStringHandler connectionStringHandler

The connection string handler.

EPiServer.Framework.Configuration.EPiServerFrameworkSection frameworkSection

The framework section.

Properties

DatabaseInfoText

Declaration
protected override string DatabaseInfoText { get; }
Property Value
Type Description
System.String
Overrides

TargetConnectionName

Declaration
protected override string TargetConnectionName { get; }
Property Value
Type Description
System.String
Overrides

ZipFileName

Declaration
protected override string ZipFileName { get; }
Property Value
Type Description
System.String
Overrides

Implements

EPiServer.Data.SchemaUpdates.ISchemaUpdater