C# Класс Drey.Configuration.Repositories.SQLiteRepositories.ConnectionStringRepository

Наследование: SqlRepository, IConnectionStringRepository
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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