Base solution for your next web application
Open Closed

Licensing errors for "EFCore.BulkExtensions" #11795


User avatar
0
susan.lombardi created

Hello,

We are in the process of upgrading from 10.5.0 to 12.4 ("ASP.NET ZERO - ASP.NET Core Version" according to the readme).

After getting our .NET solution building and running again post-upgrade, we are now getting exceptions thrown when EF Core bulk extension methods (like dbContext.BulkInsert or dbContext.bulkUpdate, which we use often) are called:

Exception: ERROR_005: The monthly trial period is expired (date: 2023-11-01, version: 7.100.0.3). You can extend your trial by downloading the latest version as the beginning of every month. More information can be found here: https://entityframework-extensions.net/trial


Now, we directly reference the package EFCore.BulkExtensions

  • In the process of upgrading and getting everything running again, it appears the before/after show that we've gone from EFCore.BulkExtensions 5.4.0 to 6.0.3
  • As of early 2023, this package has split licenses and requires a commercial license for large companies (https://github.com/borisdj/EFCore.BulkExtensions/issues/1079)
  • Despite referencing EFCore.BulkExtensions, the actual package that appears to be used internally is Z.EntityFramework.Extensions.EFCore
    • This package is paid, or at the very least needs to be updated monthly to remain "free"
    • This package is what is throwing a licensing error

I found a similar question from a couple years ago at EntityFrameWork Extentions Trial #10457 | Support Center (aspnetzero.com). In it, a Support member said:

ismcagdas created 2 years ago

https://entityframework-extensions.net/ library is a paid library and it is not included in AspNet Zero. https://entityframework-plus.net/ on the other hand is provided by the same company and it is free. We are using this one in AspNet Boilerplate.

But the "Entity Framework Plus" edition you've mentioned (https://entityframework-plus.net/download) mentions that the Enterprise version, which we need and have been using for Bulk Insert/Update/Delete, says "Trial enabled until end of month", which I believe is our issue.


Our questions are:

  • If our ABP project is referencing EFCore.BulkExtensions, then why is Z.EntityFramework.Extensions.EFCore being used - is this expected?
    • Is this because a dependency of Abp.EntityFrameworkCore.EFPlus is Z.EntityFramework.Plus.EFCore ? Should we not have direct references to EFCore.BulkExtensions in our project?
  • In either case, both libraries appear to now be paid - is this expected? If not, how do we use a free edition with our paid ABP license?

This is an issue for us because we want to keep our solution up-to-date with the latest version of ABP for security and features, but this has broken our extensive use of bulk operations in EF Core.

Any assistance is appreciated.

Thanks!


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @susan.lombardi

    My previous comment seems wrong. As I can see now, we are only using Z.EntityFramework.Plus.EFCore via Abp.EntityFrameworkCore.EFPlus.

    When I search the source code, I don't see EFCore.BulkExtensions either in Abp packages or AspNet Zero itself. Is it possible that your team might added https://entityframework-extensions.net/ to your project in the past ?

  • User Avatar
    0
    susan.lombardi created

    Hi @susan.lombardi

    My previous comment seems wrong. As I can see now, we are only using Z.EntityFramework.Plus.EFCore via Abp.EntityFrameworkCore.EFPlus.

    When I search the source code, I don't see EFCore.BulkExtensions either in Abp packages or AspNet Zero itself.
    Is it possible that your team might added https://entityframework-extensions.net/ to your project in the past ?

    Thanks for the quick reply @ismcagdas!

    I realized after I posted this question that I don't think this is related to EFCore.BulkExtensions, and will probably try to remove it if possible.

    If you are confirming that Z.EntityFramework.Plus.EFCore is bundled with ASP.NET Zero, can you please also confirm if it's expected that the version bundled in 12.4 is now limited in its capabilities (without a paid upgrade and/or needs to be upgraded monthly)?

    It's something we were previously using for free without limitations, and it appears the new version bundled with ASP.NET Zero 12.4 is a tad crippled without a license. We just need to know whether this is a new license we need to purchase to restore functionality, or perhaps to look into another EF Core bulk operation library altogether.

    Thanks!

  • User Avatar
    0
    ismcagdas created
    Support Team

    If you are confirming that Z.EntityFramework.Plus.EFCore is bundled with ASP.NET Zero, can you please also confirm if it's expected that the version bundled in 12.4 is now limited in its capabilities (without a paid upgrade and/or needs to be upgraded monthly)?

    Yes, this is correct. At the moment it is really hard to understand which part is paid and which part is free for https://entityframework-extensions.net/

    or perhaps to look into another EF Core bulk operation library altogether.

    We will definitely look for that, I have created an issue for that https://github.com/aspnetboilerplate/aspnetboilerplate/issues/6843