C# Класс Rebel.Framework.Persistence.NHibernate.ProviderBootstrapper

Наследование: Rebel.Hive.AbstractProviderBootstrapper
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ConfigureApplication() публичный Метод

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
Результат void

GetInstallStatus() публичный Метод

public GetInstallStatus ( ) : InstallStatus
Результат Rebel.Framework.ProviderSupport.InstallStatus

ProviderBootstrapper() публичный Метод

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.
Результат System

TryInstall() публичный Метод

public TryInstall ( ) : InstallStatus
Результат Rebel.Framework.ProviderSupport.InstallStatus

UpdateSchema() публичный статический Метод

public static UpdateSchema ( global configuration ) : void
configuration global
Результат void

ValidateSchema() публичный Метод

public ValidateSchema ( global configuration ) : bool
configuration global
Результат bool