C# Class NSoft.NFramework.Data.PostgreSql.EnterpriseLibrary.NpgsqlDatabaseAssembler

Represents the process to build an instance of NpgsqlDatabase described by configuration information.
Inheritance: IDatabaseAssembler
Exibir arquivo Open project: debop/NFramework

Public Methods

Method Description
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.

Method Details

Assemble() public method

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.
return Microsoft.Practices.EnterpriseLibrary.Data.Database