6

Closed

Support Generate Views on EF6

description

"Generate Views" is currently not supported on EF6. This is due to the moved types and the lack of an EF6-compatible System.Data.Entity.Design.dll.

Related work item: 436
Closed Thu at 8:39 PM by moozzyk
Verified by updating the Code First view gen template for EF6 so that it uses the new API instead of reflection as it did before.

comments

moozzyk wrote Dec 7, 2012 at 5:11 AM

See the design meeting notes from November 20, 2012 - "View Generation API" for ideas to resolve this.

SeriousM wrote Mar 1 at 11:27 AM

For everyone who is searchig for that document: HERE IS IT

emilcicos wrote Apr 29 at 8:14 PM

Added a public ContainerMappingViewGroup class that provides the names of the store container and the model container that are part of a container mapping, a mapping closure hash used for validation, and the ESQL views corresponding to each entity set in the container. Added public methods named Generate on the StorageMappingItemCollection and StorageEntityContainerMapping classes to create ContainerMappingViewGroup instances.

moozzyk wrote Thu at 8:39 PM

Verified by updating the Code First view gen template for EF6 so that it uses the new API instead of reflection as it did before.