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

상속: SqlRepository, IPackageRepository
파일 보기 프로젝트 열기: dealproc/Drey

공개 메소드들

메소드 설명
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