C# Class Drey.Configuration.Repositories.SQLiteRepositories.PackageRepository

Inheritance: SqlRepository, IPackageRepository
Afficher le fichier Open project: dealproc/Drey

Méthodes publiques

Méthode Description
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.

Method Details

All() public méthode

Alls this instance.
public All ( ) : IEnumerable
Résultat IEnumerable

Delete() public méthode

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.
Résultat void

GetPackages() public méthode

Gets the packages.
public GetPackages ( ) : IEnumerable
Résultat IEnumerable

GetReleases() public méthode

Gets the releases.
public GetReleases ( string packageId ) : IEnumerable
packageId string The package identifier.
Résultat IEnumerable

PackageRepository() public méthode

Initializes a new instance of the PackageRepository class. Used by the IoC container.
public PackageRepository ( INutConfiguration configurationManager ) : Dapper
configurationManager INutConfiguration The configuration manager.
Résultat Dapper

PackageRepository() public méthode

Initializes a new instance of the PackageRepository class. Used for integration testing.
public PackageRepository ( string databaseNameAndPath ) : Dapper
databaseNameAndPath string The database name and path.
Résultat Dapper

Store() public méthode

Stores the specified release.
public Store ( DataModel release ) : DataModel.Release
release DataModel The release.
Résultat DataModel.Release