WCF Data Service or Entity Framework

I need to develop an application to store some flat files in a database. Console and SQL Server will be on the same computer, which of these two options is better?

  • Create WCF data services and use it from a console application.
  • Use Entity Framework Entities Directly from a Console Application

Generally, when is it best to use WCF data services or Entity Framework?

THANK!

+5
source share
1 answer

These are two completely different technologies:

  • Entity Framework - OR, ; , . NHibernate, Linq-to-SQL, Subsonic, Genome OR-.

  • WCF - HTTP/REST; - ASMX, WCF,

- , - .

, , Entity Framework - Entity Framework.

WCF - , WCF. : - , . Entity Framework - - , . -. , , Entity Framework.

, , Entity Framework WCF - , , , , - (, Entity Framework).

+20

All Articles