Made repository adapters understand meta data and lazy load providers; added cascade extension method