Is it possible to make use of Entity Framework Core in Umbraco v12, with the NetTopologySuite? I need to perform some spatial searches for locator functionality, displaying the closest locations to the furthest away.
I've seen the extensions in UmbracoEFCoreServiceCollectionExtensions, and how they work, but I was wondering if there's a better way to go about this than copying the code to my own extension, just so I can call UseNetTopologySuite inside the call to UseSqlServer.
Any help would be appreciated.
EDIT:
I tried to create my own extension methods using UmbracoEFCoreServiceCollectionExtensions and found that there are far too many internal classes that I would need to duplicate in order to make this work properly.
Umbraco 12 Entity Framework Core NetTopologySuite Usage
Is it possible to make use of Entity Framework Core in Umbraco v12, with the NetTopologySuite? I need to perform some spatial searches for locator functionality, displaying the closest locations to the furthest away.
I've seen the extensions in UmbracoEFCoreServiceCollectionExtensions, and how they work, but I was wondering if there's a better way to go about this than copying the code to my own extension, just so I can call UseNetTopologySuite inside the call to UseSqlServer.
Any help would be appreciated.
EDIT:
I tried to create my own extension methods using UmbracoEFCoreServiceCollectionExtensions and found that there are far too many internal classes that I would need to duplicate in order to make this work properly.
is working on a reply...