Interface IContactCleaningProcedureRepository
Interface for all ContactCleaningProcedure DB functions
Namespace: Simplic.Logistics.Cleaning
Assembly: Simplic.Logistics.Cleaning.dll
Syntax
public interface IContactCleaningProcedureRepository
Methods
| Improve this Doc View SourceDelete(ContactCleaningProcedure)
Deletes a ContactClaeningProcedure
Declaration
void Delete(ContactCleaningProcedure contactCleaningProedure)
Parameters
Type | Name | Description |
---|---|---|
ContactCleaningProcedure | contactCleaningProedure |
Get(Guid)
Gets a ContactCleaningProcedure
Declaration
ContactCleaningProcedure Get(Guid guid)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | guid | The guid of a ContactCleaingProcedure |
Returns
Type | Description |
---|---|
ContactCleaningProcedure | Returns a new Instace of ContactCleaningProcedure |
GetAll()
Gets all ContactCleaningProcedures
Declaration
IEnumerable<ContactCleaningProcedure> GetAll()
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContactCleaningProcedure> | Returns a enumerable of all ContactCleaningProcedures |
GetAllForContact(Guid)
Gets all ContactCleaningProcedures for a contact
Declaration
IEnumerable<ContactCleaningProcedure> GetAllForContact(Guid contactId)
Parameters
Type | Name | Description |
---|---|---|
System.Guid | contactId | The Guid of a Contact |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<ContactCleaningProcedure> | Returns a enumerable of of all ContactCleaningProcedures for a Contact |
Save(ContactCleaningProcedure)
Saves a ContactCleaningProcedure
Declaration
void Save(ContactCleaningProcedure contactCleaningProcedure)
Parameters
Type | Name | Description |
---|---|---|
ContactCleaningProcedure | contactCleaningProcedure | The ContactCleaningProcedure to save |