C# Class Kooboo.Commerce.Data.CommerceInstanceManager

Inheritance: ICommerceInstanceManager
Show file Open project: Kooboo/Ecommerce

Public Methods

Method Description
CommerceInstanceManager ( IEnumerable initializers ) : System
CreateInstance ( CommerceInstanceSettings settings ) : void
DeleteInstance ( string name ) : void
GetInstance ( string name ) : CommerceInstance
GetInstanceSettings ( string instanceName ) : CommerceInstanceSettings
GetInstances ( ) : IEnumerable

Private Methods

Method Description
CreatePhysicalDatabaseIfNotExists ( string connectionString, ICommerceDbProvider provider ) : void

Method Details

CommerceInstanceManager() public method

public CommerceInstanceManager ( IEnumerable initializers ) : System
initializers IEnumerable
return System

CreateInstance() public method

public CreateInstance ( CommerceInstanceSettings settings ) : void
settings CommerceInstanceSettings
return void

DeleteInstance() public method

public DeleteInstance ( string name ) : void
name string
return void

GetInstance() public method

public GetInstance ( string name ) : CommerceInstance
name string
return CommerceInstance

GetInstanceSettings() public method

public GetInstanceSettings ( string instanceName ) : CommerceInstanceSettings
instanceName string
return CommerceInstanceSettings

GetInstances() public method

public GetInstances ( ) : IEnumerable
return IEnumerable