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

파일 보기 프로젝트 열기: jpoehls/dotnetmigrations 1 사용 예제들

공개 메소드들

메소드 설명
ConnectionStringFactory ( ) : System
ConnectionStringFactory ( IConfigurationManager configManager ) : System
GetConnectionString ( string name ) : string

Gets the named connection string from app.Config

IsConnectionString ( string val ) : bool

Returns true/false whether the given value looks like a connection string.

메소드 상세

ConnectionStringFactory() 공개 메소드

public ConnectionStringFactory ( ) : System
리턴 System

ConnectionStringFactory() 공개 메소드

public ConnectionStringFactory ( IConfigurationManager configManager ) : System
configManager IConfigurationManager
리턴 System

GetConnectionString() 공개 메소드

Gets the named connection string from app.Config
public GetConnectionString ( string name ) : string
name string
리턴 string

IsConnectionString() 공개 메소드

Returns true/false whether the given value looks like a connection string.
public IsConnectionString ( string val ) : bool
val string
리턴 bool