Oracle.EFCore: saving to DB fails with error "NetTopologySuite spatial service is not registered"

Oracle.EFCore: saving to DB fails with error "NetTopologySuite spatial service is not registered"

Hi,

I am currently trying to migrate my Blazor Entity Framework Identity app from Oracle Managed EF package to Devart EF package. Reading from DB seems to work fine, however, I can't update any rows in DB getting the following exception:

  1. 13:27:08.90 fail: Microsoft.EntityFrameworkCore.Update[10000]
  2.       An exception occurred in the database while saving changes for context type 'Finee.Web.Identity.Data.FineeWebIdentityDbContext'.
  3.       System.NotSupportedException: NetTopologySuite spatial service is not registered.
  4.          at Devart.Common.Entity.EntitySpatialServices.b()
  5.          at Devart.Common.Entity.cr.d(IColumnModification A_0)
  6.          at Devart.Data.Oracle.Entity.an.bz(IColumnModification A_0)
  7.          at Devart.Common.Entity.cq.CreateStoreCommand()
  8.          at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
  9.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  10.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  11.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  12.          at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
  13.          at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  14.          at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  15.       System.NotSupportedException: NetTopologySuite spatial service is not registered.
  16.          at Devart.Common.Entity.EntitySpatialServices.b()
  17.          at Devart.Common.Entity.cr.d(IColumnModification A_0)
  18.          at Devart.Data.Oracle.Entity.an.bz(IColumnModification A_0)
  19.          at Devart.Common.Entity.cq.CreateStoreCommand()
  20.          at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.ExecuteAsync(IRelationalConnection connection, CancellationToken cancellationToken)
  21.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  22.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  23.          at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.ExecuteAsync(IEnumerable`1 commandBatches, IRelationalConnection connection, CancellationToken cancellationToken)
  24.          at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(IList`1 entriesToSave, CancellationToken cancellationToken)
  25.          at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChangesAsync(StateManager stateManager, Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)
  26.          at Microsoft.EntityFrameworkCore.DbContext.SaveChangesAsync(Boolean acceptAllChangesOnSuccess, CancellationToken cancellationToken)

What am I missing? I don't need or use any spatial services in my application, how can I get rid of that prerequisite?

KR,
Gerhard