C# 클래스 Drey.Configuration.Services.ConnectionStringsService

상속: System.MarshalByRefObject, IConnectionStrings
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
ConnectionStringsService ( string packageId, Repositories connectionStringsRepository ) : Drey.Nut

Initializes a new instance of the ConnectionStringsService class.

Exists ( string name ) : bool

Checks to see if a specific connection string exists within the repository, by its given name.

Register ( string name, string connectionString, string providerName = "" ) : void

Registers a connection string with the underlying repository.

this ( string key ) : string

Gets the System.String with the specified key.

메소드 상세

ConnectionStringsService() 공개 메소드

Initializes a new instance of the ConnectionStringsService class.
public ConnectionStringsService ( string packageId, Repositories connectionStringsRepository ) : Drey.Nut
packageId string The package identifier.
connectionStringsRepository Repositories The connection strings repository.
리턴 Drey.Nut

Exists() 공개 메소드

Checks to see if a specific connection string exists within the repository, by its given name.
public Exists ( string name ) : bool
name string The name.
리턴 bool

Register() 공개 메소드

Registers a connection string with the underlying repository.
public Register ( string name, string connectionString, string providerName = "" ) : void
name string The name.
connectionString string The connection string.
providerName string Name of the provider.
리턴 void

this() 공개 메소드

Gets the System.String with the specified key.
public this ( string key ) : string
key string The key.
리턴 string