WCF Data Service and Entity Framework

just a couple of questions?

  • WCF Data is tightly integrated with EF
  • Can we have WCF data services with our own data contracts (user classes)? Any links to samples?
  • If I implement WCF data services with custom classes (without using EF), does the methodology support the oData standard?

thank

+3
source share
1 answer

The WCF data service will happily serve data from any data source if it implements an interface IQueryable(and possible IUpdateableif you want to also update existing data).

EF - Linq-to-SQL - .

MSDN .

MSDN WCF .

+4

Source: https://habr.com/ru/post/1753881/


All Articles