Interface IPreProductListRepository
Interface for all PreProductList DB functions
Namespace: Simplic.Logistics.Cleaning
Assembly: Simplic.Logistics.Cleaning.dll
Syntax
public interface IPreProductListRepository
Methods
| Improve this Doc View SourceDelete(PreProductList)
Deletes a PreProductList
Declaration
void Delete(PreProductList preProductList)
Parameters
Type | Name | Description |
---|---|---|
PreProductList | preProductList | The PreProduchtList to delte |
Get(Guid)
Gets a PreProductList by the Guid
Declaration
PreProductList Get(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | The Guid of a PreProductList |
Returns
Type | Description |
---|---|
PreProductList | Returns a new instance of PreProductList |
GetAll()
Gets all PreProductLists
Declaration
IEnumerable<PreProductList> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PreProductList> | Returns an enumerable with all PreProductLists |
GetAllForContact(Guid)
Gets all PreProductLsts for a contact
Declaration
IEnumerable<PreProductList> GetAllForContact(Guid contactId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contactId |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<PreProductList> |
Save(PreProductList)
Saves a PreProductList
Declaration
void Save(PreProductList preProductList)
Parameters
Type | Name | Description |
---|---|---|
PreProductList | preProductList | The PreProductList to save |