-
Notifications
You must be signed in to change notification settings - Fork 53
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
Geometry and Geography Types Not Being Mapped To DbGeometry and DbGeography #168
Comments
The PostgreSQL EF6 provider is mostly in archive mode, with no efforts going into it (I'd recommend considering switching to EF Core). I honestly am not sure if DbGeography/DbGeometry support was ever implemented in any way. |
I really do not understand this strategy; there are code projects already implemented that need spatial support in EF6. Although, the effort is to support EF Core, for projects that will happen in the future. There is no way the for all existing production code to be transferred to .NET Core. There are projects that are already commissioned, and will remain in production for the next 5 to 10 years. Why refuse support for the existing projects, projects that already promote PostgreSQL in .NET, for new projects that probably will happen. |
There is no "strategy" here, and nobody is refusing support for anything. This is a volunteer-based, open source project, and none of the maintainers (basically just me at this point) have time for anything beyond critical bug fixes for this project. Just like Entity Framework 6 is no longer being actively developed by Microsoft, the Npgsql EF6 provider also is no longer being actively developed. Are you interested in putting in the time and preparing a PR adding support for this? If so, please let me know your plans and I may be able to find the time to review and merge it - though I can't be sure of when that would happen.
Anyone starting a new project with EF6 at this point is probably making a mistake. |
Does this even work? I thought EF6 only has a limited set of fixed data types that can be supported? |
I have no idea... |
I am getting the following error when trying to use the geometry or geography types:
I am using the latest versions of EF6, Postgre and PostGIS.
The text was updated successfully, but these errors were encountered: