-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error generating query for PostGIS datatypes #3
Comments
@kostat Thank you for creating this issue. Here is the exception that I see when I am inserting a new record:
Here I how i am injecting the EF Context: services.AddDbContext<DeadheadContext>(options =>
{
options.UseNpgsql(configuration.GetConnectionString("Deadhead"), o => o.UseNetTopologySuite());
options.EnableSensitiveDataLogging();
options.UseLoggerFactory(new LoggerFactory(new List<DebugLoggerProvider> { new DebugLoggerProvider() }));
Streamx.Linq.SQL.EFCore.ELinq.Configuration.RegisterVendorCapabilities();
}, ServiceLifetime.Transient); There was a similar error trying to read a |
Should be fixed in https://www.nuget.org/packages/Streamx.Linq.SQL.EFCore/3.1.14 |
Awesome! I will update and verify. By the way Kudos for building this. |
Thanks. Assuming the issue is fixed - closing. |
I got some error when one of my column data types were of type geometry/geography, and it was unable to generate the query for me. Below was my code that i was using to generate my query and the Deadhead entity.
The text was updated successfully, but these errors were encountered: