Copied to clipboard

Flag this post as spam?

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


  • Ross Ekberg 124 posts 364 karma points
    Feb 01, 2023 @ 23:37
    Ross Ekberg
    0

    Adding New field To Model

    I have a custom section that utilizes a custom db. I added a new field to a table in this custom db. I am working in Visual Studio and ran through the wizards and the various edmx files and tt files and cs files were generated. I updated those files in my Umbraco build, but I'm still getting an error saying the new field doesn't exist. Is there something I am missing here? Do i need to do something more than update the model files?

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Feb 02, 2023 @ 07:52
    Dave Woestenborghs
    0

    Hi Ross,

    What is used to the database access for this custom section. It sounds more like a issue with that technology than it is with Umbraco.

    Dave

  • Ross Ekberg 124 posts 364 karma points
    Feb 02, 2023 @ 16:30
    Ross Ekberg
    0

    I'm not sure I understand your question. The database is MSSQL. I am using the Entity Framework to connect to it.

  • Dave Woestenborghs 3504 posts 12133 karma points MVP 8x admin c-trib
    Feb 02, 2023 @ 18:56
    Dave Woestenborghs
    0

    Hi Ross,

    I think your problem is related to Entity Framework (which is not part of Umbraco). There might be people here that can help you. But I suspect you will get more help in a entity framework forum.

    Dave

  • Ross Ekberg 124 posts 364 karma points
    Feb 02, 2023 @ 18:57
    Ross Ekberg
    0

    Fair enough. I will ask a more clear question in a new thread.

Please Sign in or register to post replies

Write your reply to:

Draft