ADO.NET Entity Framework or ADO.NET

前端 未结 3 1934
予麋鹿
予麋鹿 2021-02-15 23:42

I\'m starting a new project based on ASP.NET and Windows server.

The application is planned to be pretty big and serve large amount of clients p

3条回答
  •  猫巷女王i
    2021-02-16 00:08

    EF 4 is now more similar to LINQ to SQL, in the good ways; it has the FK keys right in the object, has add methods right in the object sets, and a lot of other nice features. THe designer is much improved, and the major plus is that it works with SQL and Oracle, and maybe some others (as long as the provider supports it) instead of LINQ to SQL with only SQL Server.

    EF is the future; the ADO.NET data services is a web service add on, plus it supports POCO and T4 generation, and any new features will support this (LINQ to SQL is maintenance only, and data sets won't be getting any changes any more).

    HTH.

提交回复
热议问题