C# 클래스 NSoft.NFramework.Data.PostgreSql.EnterpriseLibrary.NpgsqlDatabaseAssembler

Represents the process to build an instance of NpgsqlDatabase described by configuration information.
상속: IDatabaseAssembler
파일 보기 프로젝트 열기: debop/NFramework

공개 메소드들

메소드 설명
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