More in this section
Forums / Developing with Sitefinity / Widget based on Entity Framework

Widget based on Entity Framework

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
2 posts, 0 answered
  1. Celso
    Celso avatar
    6 posts
    Registered:
    03 Jul 2015
    02 Sep 2015
    Link to this post

    Hello,

    I'm trying to develop a widget which is based on a custom database table.

    For this particular widget, I'd like to be able to use Entity Framework to develop and map everything to the table.

     

    How can I achieve this? I've already installed Entity Framework from the NuGet package manager and created the code-first classes based on those tables.

     

    How do I use these entities on my widget now?

    I've read through custom modules (here), but the approach allowed doesn't match what I need since I'd have to create the table on the wizard and that is limiting my intended behaviour (for instance, it lacks support for foreign keys and uniqueidentifiers).

  2. Kaloyan
    Kaloyan avatar
    272 posts
    Registered:
    06 Feb 2017
    03 Sep 2015
    Link to this post
    Hello Celso,

    I have answered you in the support ticket that you have opened. Feel free to share your approach when your widget is developed.

    Regards,
    Kaloyan
    Telerik
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered