Delegate Based CRUDRepo
constructor(readDelegate: ReadCRUDRepo<ObjectType, IdType>, writeDelegate: WriteCRUDRepo<ObjectType, IdType, InputValueType>)(source)
Parameters
read Delegate
Delegate providing all ReadCRUDRepo operations
write Delegate
Delegate providing all WriteCRUDRepo operations
Type Parameters
Object Type
The type of objects stored in the repository
Id Type
The type of identifiers used to reference stored objects
Input Value Type
The type of input data used to create or update objects