Question

I'm looking at using ADO.NET Data Services with silverlight. I've been looking at the Data Model and Data Service Implementations (ADO.NET Data Services/Silverlight) topic on msdn. In their example, they build a data model generated from a database, and query entities in the datamodel. In my case I want to use stored procedures, so I"ve created the data model and added stored procedures instead of tables & views, but now I'm not sure how to execute them. Does anyone have a sample?

Was it helpful?

Solution

Just specify the stored procedures when you build your Entity Framework model. There's lots of documentation about this. You can also see a screencast.

As a point of clarification, I don't think there is anything Data-Services specific about your question. It's more of an Entity Framework question.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top