IReleaseRepository
Namespace: Babel.Data Assembly: Babel.Data.dll
Interface for release repository.
Implements
Methods
AddProductReleaseAsync(int, Release)
Asynchronously adds a product release.
Parameters
Returns
Name | Description |
---|---|
A task that represents the asynchronous add operation. The task result contains the added product assembly. |
AddReleaseAssemblyAsync(int, int, Assembly)
Asynchronously adds a release assembly.
Parameters
Name | Description |
---|---|
| The product primary key. |
| The release primary key. |
| The assembly to add. |
Returns
Name | Description |
---|---|
CopyAsync(Release, Release)
Copy a release object with all the assemblies. Assembly versions will be aligned with the destination release.
Parameters
Name | Description |
---|---|
| The release to copy. |
| The destination release object tat will be aligned to source. |
Returns
Name | Description |
---|---|
Delete(IEnumerable<int>)
Deletes the given list of releases from the repository. Begins tracking the given list of releases in the Detached state such that it will be deleted in the database when SaveChanges() is called.
Parameters
Name | Description |
---|---|
| The release ids to delete. |
GetProductReleasesAsync(int)
Asynchronously gets a list of releases for the given product.
Parameters
Name | Description |
---|---|
| The product primary key. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous get operation. The task result contains a list of release found. |
GetReleaseAssembliesAsync(int)
Asynchronously gets a list of assemblies for the given release.
Parameters
Name | Description |
---|---|
| The release primary key. |
Returns
Last updated