Contents tagged with OData
-
WCF Data Services Toolkit to talk to any database using GetAll, GetOne, Save, Remove methods
I did a primer on using WCF Data Services in my last post. One of the things I’m seeing about the posts regarding WCF Data Services using OData is that they used Entity Framework to do the DAL work. So a lot of underlying work gets hidden by using EF. Here is a post that allows you to connect to any database using the traditional ADO.NET way.
-
Accessing data as resource through URI - WCF Data Services
Open Data Protocol (OData for short) allows CRUD operations on your data by exposing it as a resource accessible through a URI. So you can try something like below directly on the browser to get a collection of all employees less than 26 years of age.
http://somesite.com/EmployeeService.svc/Employees?$filter=Age lt 26