C# Класс NSoft.NFramework.Data.PostgreSql.EnterpriseLibrary.NpgsqlDatabaseAssembler

Represents the process to build an instance of NpgsqlDatabase described by configuration information.
Наследование: IDatabaseAssembler
Показать файл Открыть проект

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

Метод Описание
Assemble ( string name, ConnectionStringSettings connectionStringSettings, IConfigurationSource configurationSource ) : Microsoft.Practices.EnterpriseLibrary.Data.Database

Builds an instance of the concrete subtype of T:Microsoft.Practices.EnterpriseLibrary.Data.Database the receiver knows how to build, based on the provided connection string and any configuration information that might be contained by the configurationSource.

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

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

Builds an instance of the concrete subtype of T:Microsoft.Practices.EnterpriseLibrary.Data.Database the receiver knows how to build, based on the provided connection string and any configuration information that might be contained by the configurationSource.
public Assemble ( string name, ConnectionStringSettings connectionStringSettings, IConfigurationSource configurationSource ) : Microsoft.Practices.EnterpriseLibrary.Data.Database
name string The name for the new database instance.
connectionStringSettings System.Configuration.ConnectionStringSettings The connection string for the new database instance.
configurationSource IConfigurationSource The source for any additional configuration information.
Результат Microsoft.Practices.EnterpriseLibrary.Data.Database