+1-888-365-2779
Try Now
More in this section

Forums / Sitefinity SDK / Dynamic Data

Dynamic Data

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:
    09 Sep 2016
    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