When Microsoft will release Entity Framework 6.x (.NET Full framework) having Microsoft.Data.SQLClient support?

Buch, Dishant 5 Reputation points
2023-06-05T07:36:18.9+00:00

We are migrating our .NET Full framework 4.8 based Data Access Layer projects from System.Data.SQLClient to Micosoft.Data.SQLClient. While it is very straightforward for AD0.NET based projects, we do have some projects where we are also using EF 6.0. As EF 6.0 doesn’t have Microsoft.Data.SQLClient support yet, we are not able to proceed with the migration.

We have come across this link : https://github.com/dotnet/ef6/pull/2063 which has detail about EF 6.5 source code having Microsoft.Data.SQLClient support but this is not officially available to be used in production.

So, may we know when Microsoft is planning to release EF 6.5/X having Microsoft.Data.SQLClient support for .NET Full framework project?

.NET
.NET
Microsoft Technologies based on the .NET software framework.
3,370 questions
{count} vote

4 answers

Sort by: Most helpful
  1. Jack J Jun 24,286 Reputation points Microsoft Vendor
    2023-06-05T08:52:06.9866667+00:00

    @Buch, Dishant, Welcome to Microsoft Q&A, based on my test, I find as you mentioned.

    Microsoft.Data.SQLClient is currently not supported in ef 6.x.

    I find Microsoft has stated some notes in their Github Status and Support:

    EF6 is no longer being actively developed. This means that:

    • Security issues will be fixed, as for any supported product.
    • High-impact bugs, typically those impacting a very large number of users, may be fixed.
    • Other bugs will not be fixed.
    • New features will not be implemented

    From the fourth point, Microsoft may not developed the new feature for using Microsoft.Data.SQLClient in ef 6.x.

    Therefore, I recommend that you use ef core to replace ef.

    Based on my test, I find that ef core supports Microsoft.Data.SQLClient.

    Here is a sample you could have a look.

    User's image

    Hope my advice could help you.

    Best Regards,

    Jack

    If the answer is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.  


  2. Bruce (SqlWork.com) 55,686 Reputation points
    2023-06-11T15:48:41.34+00:00

    in short there is no plan to release EF 6 with the Microsoft.Data.SQLClient.

    EF 6 is no longer supported by Microsoft (except security fixes). Last supported nuget update was in may 2020.

    the EF source code was uploaded to GitHub and made open source.

    https://github.com/dotnet/ef6

    The open source project has had feature updates, but does not have Microsoft support. If you want to use this project, you pull and build it yourself. I’d probably fork first as recommended.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  4. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more