Question

I need geometry types in my Entity Framework application. I've tried to follow this tutorial but I have had some issues and I'm not sure if it is because the tutorial is old or if I'm doing something wrong.

For example, under "Creating a New Entity C# Code Generation Template" it says

select Entity C# in the "Load from existing template" drop-down list.

The closest thing I can find, how ever, is the "EntityObject" template. Also, the code in the EntityObject template is somewhat different and so I don't know if this will still work.
Also, the link to the template code is down so you have to transcribe the entire picture of code, which is inconvenient (especially if it turns out not to work).

My question is, is there a better/updated way to handle spatial datatypes with entity framework and postgresql in the year of 2013?

Thanks

Was it helpful?

Solution

Support for spatial/geometry data types in Entity Framework 5 and Entity Framework 6 will be available in the next build of dotConnect for PostgreSQL. We plan to release the nearest build in a week or two.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top