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

Class AuxiliarySchemaUpdaterBase

This class is intended to be used internally by EPiServer. We do not support any backward compatibility on this. Base class for ISchemaUpdater implementations that do other updates than the main commerce schema updates.

Inheritance
System.Object
AuxiliarySchemaUpdaterBase
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 abstract class AuxiliarySchemaUpdaterBase : SchemaUpdaterBase, ISchemaUpdater

Constructors

AuxiliarySchemaUpdaterBase(IDatabaseExecutorFactory, ScriptExecutor, IConnectionStringHandler, EPiServerFrameworkSection)

Declaration
protected AuxiliarySchemaUpdaterBase(IDatabaseExecutorFactory databaseExecutorFactory, ScriptExecutor scriptExecutor, IConnectionStringHandler connectionStringHandler, EPiServerFrameworkSection frameworkSection)
Parameters
Type Name Description
EPiServer.Data.Providers.IDatabaseExecutorFactory databaseExecutorFactory
EPiServer.Data.SchemaUpdates.ScriptExecutor scriptExecutor
IConnectionStringHandler connectionStringHandler
EPiServer.Framework.Configuration.EPiServerFrameworkSection frameworkSection

Properties

DatabaseInfoText

Info text that will be appended to the database name in the error message if a manual database upgrade is required, e.g. "The database 'EPiServer DB ({DatabaseInfoText} for Commerce DB version x.y.z)' has not been updated...".

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

TargetConnectionName

The name of the connection to run the update script for.

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

Methods

GetStatus(IEnumerable<ConnectionStringOptions>)

Declaration
public override SchemaStatus GetStatus(IEnumerable<ConnectionStringOptions> connectionStringOptions)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<EPiServer.Data.ConnectionStringOptions> connectionStringOptions
Returns
Type Description
EPiServer.Data.SchemaUpdates.SchemaStatus
Overrides

Implements

EPiServer.Data.SchemaUpdates.ISchemaUpdater