IProductRepository
Namespace: Babel.Data Assembly: Babel.Data.dll
Interface for product repository.
Implements
Methods
Delete(IEnumerable<int>)
Deletes a list of products with the given primary key values.
Parameters
Name | Description |
---|---|
| The product primary key ids to delete. |
DeleteProductLicenseTemplatesAsync(int, IEnumerable<int>)
Asynchronously deletes the license templates for a given product. Begins tracking the given entities in the Detached state such that they will be deleted in the database when SaveChanges() is called.
Parameters
Name | Description |
---|---|
| The product primary key. |
| List of identifiers for the templates. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous delete operation. |
DeleteProductReleaseAssemblyAsync(int, int, int)
Asynchronously deletes the released assembly for a given product. Begins tracking the given entities in the Detached state such that they will be deleted in the database when SaveChanges() is called.
Parameters
Name | Description |
---|---|
| The product primary key. |
| The release primary key. |
| The assembly primary key. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous delete operation. |
DeleteProductReleaseAsync(int, int)
Asynchronously deletes a product release. Begins tracking the given entities in the Detached state such that they will be deleted in the database when SaveChanges() is called.
Parameters
Returns
Name | Description |
---|---|
A task that represents the asynchronous delete operation. |
GetProductAssembliesAsync(int)
Asynchronously gets a list of assemblies for a 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 assembly found. |
GetProductLicenseTemplatesAsync(int)
Asynchronously gets a list of license templates 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 license template found. |
GetProductLicensesAsync(int)
Asynchronously gets a list of licenses 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 license found. |
GetProductReleaseAssembliesAsync(int, int)
Asynchronously gets a list of assemblies for a given product release.
Parameters
Returns
Name | Description |
---|---|
A task that represents the asynchronous get operation. The task result contains a list of assembly found. |
GetProductReleaseAssemblyAsync(int, int, int)
Asynchronously gets the assembly for a given product release.
Parameters
Name | Description |
---|---|
| The product primary key. |
| The release primary key. |
| The release assembly key. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous get operation. The task result contains the assembly found or null. |
GetProductReleaseAsync(int, int)
Asynchronously gets the release for the given product.
Parameters
Returns
Name | Description |
---|---|
A task that represents the asynchronous get operation. The task result contains the release found or null. |
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. |
InsertProductReleaseAssemblyAsync(int, Release, Assembly)
Asynchronously inserts the given release, assembly record in the repository for a specified product. Begins tracking the given entities, and any other reachable entities that are not already being tracked, in the Added state such that they will be inserted into the database when SaveChanges() is called
Parameters
Name | Description |
---|---|
| The product primary key. |
| The product release. |
| The released assembly. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous Insert operation. |
InsertProductReleaseAsync(int, Release)
Asynchronously inserts the given release record in the repository for a specified product. Begins tracking the given entities, and any other reachable entities that are not already being tracked, in the Added state such that they will be inserted into the database when SaveChanges() is called
Parameters
Name | Description |
---|---|
| The product primary key. |
| The release object to be inserted. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous Insert operation. |
UpdateProductReleaseAsync(int, Release)
Asynchronously updates the given release record in the repository for a specified product. Begins tracking the given entities, and any other reachable entities that are not already being tracked, in the Added state such that they will be inserted into the database when SaveChanges() is called
Parameters
Name | Description |
---|---|
| The product primary key. |
| The release object to be updated. |
Returns
Name | Description |
---|---|
A task that represents the asynchronous Update operation. |
Last updated