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?
+2
A:
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.
Craig Stuntz
2008-12-11 18:26:15
True that! I've updated the tags.
Jeremy
2008-12-11 18:47:04
Strictly speaking, ADO.NET isn't specific to Entity Framework... but in this case, I agree that the questions are about EF, not Astoria
Marc Gravell
2008-12-11 21:09:07