C# 클래스 Drey.Configuration.Repositories.SQLiteRepositories.ConnectionStringRepository

상속: SqlRepository, IConnectionStringRepository
파일 보기 프로젝트 열기: dealproc/Drey 1 사용 예제들

공개 메소드들

메소드 설명
All ( ) : IEnumerable

Alls this instance.

All ( string packageId ) : IEnumerable

Alls the specified package identifier.

ByName ( string packageId, string name ) : string

Bies the name.

ConnectionStringRepository ( INutConfiguration configurationManager ) : Dapper

Initializes a new instance of the ConnectionStringRepository class. Used by IoC container.

ConnectionStringRepository ( string databaseNameAndPath ) : Dapper

Initializes a new instance of the ConnectionStringRepository class. Used for integration testing.

Delete ( int id ) : void

Deletes the package connection string, by its key.

Get ( string packageId, string name ) : DataModel.PackageConnectionString

Gets the specified package identifier.

Store ( DataModel model ) : void
Store ( Services model ) : void

Stores the specified model.

메소드 상세

All() 공개 메소드

Alls this instance.
public All ( ) : IEnumerable
리턴 IEnumerable

All() 공개 메소드

Alls the specified package identifier.
public All ( string packageId ) : IEnumerable
packageId string The package identifier.
리턴 IEnumerable

ByName() 공개 메소드

Bies the name.
public ByName ( string packageId, string name ) : string
packageId string The package identifier.
name string The name.
리턴 string

ConnectionStringRepository() 공개 메소드

Initializes a new instance of the ConnectionStringRepository class. Used by IoC container.
public ConnectionStringRepository ( INutConfiguration configurationManager ) : Dapper
configurationManager INutConfiguration The configuration manager.
리턴 Dapper

ConnectionStringRepository() 공개 메소드

Initializes a new instance of the ConnectionStringRepository class. Used for integration testing.
public ConnectionStringRepository ( string databaseNameAndPath ) : Dapper
databaseNameAndPath string The database name and path.
리턴 Dapper

Delete() 공개 메소드

Deletes the package connection string, by its key.
public Delete ( int id ) : void
id int The key for the connection string to be deleted.
리턴 void

Get() 공개 메소드

Gets the specified package identifier.
public Get ( string packageId, string name ) : DataModel.PackageConnectionString
packageId string The package identifier.
name string The name.
리턴 DataModel.PackageConnectionString

Store() 공개 메소드

public Store ( DataModel model ) : void
model DataModel
리턴 void

Store() 공개 메소드

Stores the specified model.
public Store ( Services model ) : void
model Services The model.
리턴 void