Gets the generator function for a SingleDocumentRepository of model T
Model of the document tracked.
The id of the document that the generated repository should track.
A function that generated a single document repository on the document provided.
Gets the generator function for a SingleDocumentRepository of model T