Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • John Wilson 14 posts 107 karma points
    Sep 05, 2023 @ 19:24
    John Wilson

    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.


    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.

Please Sign in or register to post replies

Write your reply to: