Class CommerceDatabaseSchemaUpdater
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.SqlUpdateCommerceScript.zip embeded resource inside the EPiServer.Business.Commerce.
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.2Syntax
public class CommerceDatabaseSchemaUpdater : SchemaUpdaterBase, ISchemaUpdater
Constructors
CommerceDatabaseSchemaUpdater(IDatabaseExecutorFactory, ScriptExecutor, IConnectionStringHandler)
Initializes a new instance of the CommerceDatabaseSchemaUpdater class.
Declaration
public CommerceDatabaseSchemaUpdater(IDatabaseExecutorFactory databaseExecutorFactory, ScriptExecutor scriptExecutor, IConnectionStringHandler connectionStringHandler)
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. |
Properties
ZipFileName
Declaration
protected override string ZipFileName { get; }
Property Value
Type | Description |
---|---|
System.String |
Overrides
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