What's wrong with Linq to SQL?

前端 未结 11 2145
春和景丽
春和景丽 2021-01-02 09:34

What\'s wrong with Linq to SQL?

Or - what about Linq to SQL would make it unsuitable for a project, either new or existing? I want to hear about why you would

11条回答
  •  醉话见心
    2021-01-02 09:48

    For a project that needs to make use of databases other than SQL Server:

    1) You are locked in to using SQL Server

    For a project with complex entity relations and/or relations that change gradually over time:

    2) You are locked in to 1-to-1 mapping of tables to classes

    For a project that must use 1.x versions of .NET

    3) Won't work with .NET 1.x

提交回复
热议问题