Mapping Conceptual Model Function to Complex Type in Entity Framework

added by mosessaur
4/8/2010 2:22:40 AM

3 Kicks, 139 Views

You might hear of KiGG, the open source project that is currently live as I wanted to expose part of KiGG data as an OData Service for read only. But I figured out that exposing raw KiGG schema might not be useful. So I had to choose between 2 options that were up to my mind: * Build some views on the physical store -database-. Create a new entity data model for those views and use the new data model context for DataServiceContext. * Use Entity Framework 4.0 conceptual model function feature with complex types to simulate views. It’s like building views on the conceptual model itself and not the store model.