How do I call a stored procedure exposed as an Entity Framework function Importing data through ADO.NET Data Services (Astoria)?

I created an entity data model and imported several stored procedures as an Import function. I am exposing EDM through ADO.NET Data Services (ANDS). Is ANDS automatically expose functions through its REST API or do I need to manually add operations to the service?

+1


source to share


1 answer


You will need to open sproc via ServiceOperation. From what I can tell, all the mapping to FunctionImport makes it usable in a service via CurrentDataSource. Think of it as a link between concept and repository.



0


source







All Articles