There are multiple design-time and runtime scenarios in which the ability to obtain metadata about a model and mapping us useful. An example of this is the ability to load a model pragmatically into other libraries that can parse EDM.
EdmxWriter currently only works if the model was created using Code First but it should work uniformly regardless of how the model was defined.
This would simplify the work for other framework components that need to find EDM metadata for an EF model regardless of the origin, e.g. Web API support for OData could use this.
EdmxWriter currently only works if the model was created using Code First but it should work uniformly regardless of how the model was defined.
This would simplify the work for other framework components that need to find EDM metadata for an EF model regardless of the origin, e.g. Web API support for OData could use this.