Migrating Linq to SQL code to .Net Core

后端 未结 3 840
野的像风
野的像风 2021-02-04 02:51

We have some legacy code that uses Linq to SQL as the ORM. We\'d like to migrate this logic to .Net Core so that we can house it on a linux server. As far as I can tell, L2S is

3条回答
  •  遥遥无期
    2021-02-04 03:26

    If you are rewriting legacy code to .NET Core, this will take some effort to being with.

    And for L2S, you will probably need to rewrite this into modern queries using Entity Framework Core. It might make your life easier generating entities from database though, see Reverse engineer your model.

    This would be the recommended way, however I am not sure if it's the easiest one in your case.

提交回复
热议问题