Mapping Conceptual Model Function to Complex Type in Entity Framework (mosesofegypt.net)
submitted by
mosessaur(5424) 2 years, 1 month ago
You might hear of KiGG, the open source project that is currently live as http://dotnetshoutout.com. 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.
read more...
|category: ADO.NET
|Views: 67
tags:
mosessaur EF4 OData mosesofegypt.net Database another
Everyones tags:
Your Tags: