C# 클래스 DotNetMigrations.Core.Data.DataAccessFactory

파일 보기 프로젝트 열기: jpoehls/dotnetmigrations

공개 메소드들

메소드 설명
Create ( string connectionString ) : DataAccess

Creates and returns a new instance for the given connection string.

비공개 메소드들

메소드 설명
GetCommandTimeout ( DbConnectionStringBuilder csb ) : int?

Gets the command timeout (in seconds) from the connection string (if the CommandTimeout key is specified).

GetFactory ( string provider ) : System.Data.Common.DbProviderFactory

Retrieves the appropriate Database provider factory.

GetProvider ( DbConnectionStringBuilder csb ) : string

Extracts the provider from the connection string or uses the default.

메소드 상세

Create() 공개 정적인 메소드

Creates and returns a new instance for the given connection string.
public static Create ( string connectionString ) : DataAccess
connectionString string
리턴 DataAccess