title: Could not load type 'Microsoft.EntityFrameworkCore.Query.RelationalQueryContextFactory' Z.EntityFramework.Plus.EFCore
body: <p>I have written a simple query which was working when I was using .net core 2.1 (I have used Z.EntityFramework.Plus.EFCore)</p>
  <pre><code>int cnt = adminDb.Role.Where(c =&gt; c.RoleId == roleId).Delete(); 
  </code></pre>
  <p>After upgrading to .net core 3.1 I am getting the error below.</p>
  <pre><code>Could not load type 'Microsoft.EntityFrameworkCore.Query.RelationalQueryContextFactory' from assembly 'Microsoft.EntityFrameworkCore.Relational, Version=3.1.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'.
  Source : Z.EntityFramework.Plus.EFCore
  StackTrace : at Z.EntityFramework.Plus.InternalExtensions.GetDbContext[T](IQueryable`1 source)
     at Z.EntityFramework.Plus.BatchDelete.Execute[T](IQueryable`1 query)
     at Z.EntityFramework.Plus.BatchDeleteExtensions.Delete[T](IQueryable`1 query, Action`1 batchDeleteBuilder)
     at Z.EntityFramework.Plus.BatchDeleteExtensions.Delete[T](IQueryable`1 query)
     at Assyst.Administration.API.Controllers.RoleMenuMappingController.SavePermission(Nullable`1 roleMenuMasterId, IList`1 roleMenu) in E:\Source\Main_Projects\Application\PanERP-7\Error\Administration\Admin\Controllers\RoleMenuMappingController.cs:line 365 
  </code></pre>
  <p>I am receiving this error and I'm not sure what it means?</p>