More in this section
Forums / Sitefinity SDK / Dynamic Data

Dynamic Data

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. Thang
    Thang avatar
    1 posts
    Registered:
    08 Mar 2013
    31 Mar 2013
    Link to this post
    Im new to the system and after reading this topic http://www.sitefinity.com/documentation/documentationarticles/developers-guide/deep-dive/dynamic-data/dynamic-fields, I just wonder whether after the SaveChanges call, a new table is created or what happens to the database? Please advise.
  2. Stefani Tacheva
    Stefani Tacheva avatar
    718 posts
    Registered:
    31 May 2017
    03 Apr 2013
    Link to this post
    Hi Thang,

    After the query:

    App.WorkWith()
           .DynamicData()
           .Type(typeof(NewsItem))
           .Field()
                .TryCreateNew("ResearcherName", typeof(string))
                .SaveChanges(true);

    as mentioned in our documentation, a new column in one of the tables in the Sitefinity database will be created.

    Greetings,
    Stefani Tacheva
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

2 posts, 0 answered