C# Class Rebel.Framework.Persistence.NHibernate.ProviderBootstrapper

Inheritance: Rebel.Hive.AbstractProviderBootstrapper
ファイルを表示 Open project: RebelCMS/rebelcmsxu5 Class Usage Examples

Public Methods

Method Description
ConfigureApplication ( string providerKey, System.Xml.Linq.XDocument configXml, BendyObject installParams ) : void

Creates any necessary configuration files/transforms for the provider to operate

GetInstallStatus ( ) : InstallStatus
ProviderBootstrapper ( global configuration, ProviderConfigurationSection localConfig ) : System

Initializes a new instance of the ProviderBootstrapper class if sufficient configuration information has been supplied by the user.

TryInstall ( ) : InstallStatus
UpdateSchema ( global configuration ) : void
ValidateSchema ( global configuration ) : bool

Method Details

ConfigureApplication() public method

Creates any necessary configuration files/transforms for the provider to operate
public ConfigureApplication ( string providerKey, System.Xml.Linq.XDocument configXml, BendyObject installParams ) : void
providerKey string The provider key for the provider that is being configured
configXml System.Xml.Linq.XDocument The configuration xml file that needs to be written to
installParams BendyObject TODO: This is only a temporary way of passing arbitrary parameters to a provider to create its configuration, /// we need to allow hive providers to return a model for which we display a form/installer for and then pass in that /// model to the installParams
return void

GetInstallStatus() public method

public GetInstallStatus ( ) : InstallStatus
return Rebel.Framework.ProviderSupport.InstallStatus

ProviderBootstrapper() public method

Initializes a new instance of the ProviderBootstrapper class if sufficient configuration information has been supplied by the user.
public ProviderBootstrapper ( global configuration, ProviderConfigurationSection localConfig ) : System
configuration global The configuration.
localConfig Rebel.Framework.Persistence.NHibernate.Config.ProviderConfigurationSection The existing config.
return System

TryInstall() public method

public TryInstall ( ) : InstallStatus
return Rebel.Framework.ProviderSupport.InstallStatus

UpdateSchema() public static method

public static UpdateSchema ( global configuration ) : void
configuration global
return void

ValidateSchema() public method

public ValidateSchema ( global configuration ) : bool
configuration global
return bool