Treat repositories in a way similar to entities: they are not manipulated directly, but a RepositoryReflection. That way we have a central object to reflect what a Repository is, and its capabilities.
It will also make caching configuration easier, we can cache this objects, instead of getting back to Repository object each time.
Treat repositories in a way similar to entities: they are not manipulated directly, but a
RepositoryReflection
. That way we have a central object to reflect what a Repository is, and its capabilities.It will also make caching configuration easier, we can cache this objects, instead of getting back to
Repository
object each time.