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

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

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

Метод Описание
All ( ) : IEnumerable

Alls this instance.

Delete ( string packageId, string version ) : void

Deletes all package references from the underlying store, matching the provided id and version.

GetPackages ( ) : IEnumerable

Gets the packages.

GetReleases ( string packageId ) : IEnumerable

Gets the releases.

PackageRepository ( INutConfiguration configurationManager ) : Dapper

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

PackageRepository ( string databaseNameAndPath ) : Dapper

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

Store ( DataModel release ) : DataModel.Release

Stores the specified release.

Описание методов

All() публичный Метод

Alls this instance.
public All ( ) : IEnumerable
Результат IEnumerable

Delete() публичный Метод

Deletes all package references from the underlying store, matching the provided id and version.
public Delete ( string packageId, string version ) : void
packageId string The package identifier.
version string The version.
Результат void

GetPackages() публичный Метод

Gets the packages.
public GetPackages ( ) : IEnumerable
Результат IEnumerable

GetReleases() публичный Метод

Gets the releases.
public GetReleases ( string packageId ) : IEnumerable
packageId string The package identifier.
Результат IEnumerable

PackageRepository() публичный Метод

Initializes a new instance of the PackageRepository class. Used by the IoC container.
public PackageRepository ( INutConfiguration configurationManager ) : Dapper
configurationManager INutConfiguration The configuration manager.
Результат Dapper

PackageRepository() публичный Метод

Initializes a new instance of the PackageRepository class. Used for integration testing.
public PackageRepository ( string databaseNameAndPath ) : Dapper
databaseNameAndPath string The database name and path.
Результат Dapper

Store() публичный Метод

Stores the specified release.
public Store ( DataModel release ) : DataModel.Release
release DataModel The release.
Результат DataModel.Release