You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex Fox Gill edited this page May 11, 2016
·
9 revisions
ModelMetadata(source) is a parameter object class which encapsulates both the types of entities recognised by LazyEntityGraph, and any constraints which the library should adhere to. It is passed to ProxyInstanceCreator(source) as a constructor argument. It has two properties:
EntityTypes
A list of types which are recognised as a part of the model.
An instance of ModelMetadata may be constructed by manually specifying these two lists; alternatively, it is possible to generate the model metadata from an ORM (see Entity Framework).