What are the types of use patterns, pros and cons?

I hardly touched EF4, but I used Linq for sql quite a lot. I would like to start with one of the EF templates, but I have no idea what situations make sense to everyone or what their intentions are.

I have the following options:

  • Data templates
    • ADO.NET Entity Data Model
    • Service-based database (is it even related to EF?
  • Code Templates (I am familiar with T4)
    • EntityObject ADO.NET Generator
    • ADO.NET Self-Tracking Entity Generator
  • Online Templates
    • ADO.NET C # POCO Entity Generator
+5
source share
1 answer

, ,

, MSDN/ASP.NET, ? . , , . MSDN.

, , , , .

ADO.NET

, Entity Framework ORM, EF. , . EDM , ( ), , ..

,

, , , EF ( ), , EF.

EntityObject ADO.NET

, EntityObject. EF , , Model.edmx.designer.cs( ) . .

ADO.NET Self-Tracking Entity Generator

, N-Tier (.. , WCF/Silverlight ). "" EF, .

ADO.NET # POCO Entity Generator

.:) , . , . , - , /.

+14

All Articles