Base solution for your next web application
Open Closed

Aspnet core with Entity Framework 6 #7593


User avatar
0
hkcf created

In my coming project, it is required to handle the transaction on two MSSQL databases across different servers. With this background, my only option of ORM is Entity Framework 6. The web application server, of course, would be windows servers with msdtc enabled. When I download the startup solution of which data access layer is used Entity framework Core. So, is there any way I can setup a solution using ASPNETCORE with Entity Framework 6?

Many thanks!

Ivan Lee


5 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    is there any way I can setup a solution using ASPNETCORE with Entity Framework 6?

    Asp net core does not currently support EF 6.

  • User Avatar
    0
    hkcf created

    any workaround ?

  • User Avatar
    0
    maliming created
    Support Team

    NET Core 3.0 will support EF 6.3. You can wait for 3.0.

    https://devblogs.microsoft.com/dotnet/announcing-entity-framework-6-3-preview-with-net-core-support/

    .NET Core 3.0 will launch September 23 — 25, 2019 https://www.dotnetconf.net/

  • User Avatar
    0
    hkcf created

    Thanks for your information.

    Yes, EF 6.3 would be part of dotnet core 3.0.

    So do you have any plan to support both EF core 3.0 and EF 6.3 in coming Abp frameowork?

  • User Avatar
    0
    maliming created
    Support Team

    @hkcf Please see:https://github.com/aspnetboilerplate/aspnetboilerplate/issues/4641