XMLMetadatasource and Dynamic Fields

2 posts, 1 answers
  1. Bill Togkas
    Bill Togkas avatar
    18 posts
    Member since:
    Mar 2010

    Posted 24 Jul 2012 Link to this post


    We are using the latest version of the Telerik ORM and would like to know if it is possible
    to have Runtime artificial fields with XMLMetadatasource. Is there a like way to include artificial fields in the .rlinq file?

  2. Answer
    Serge avatar
    375 posts

    Posted 27 Jul 2012 Link to this post

    Hello Bill, 

     There isn't a reason to put artificial fields in an rlinq file, given that they are dynamically created. The best solution would be to take the output of the XmlMetadataSource and merge it with one created dynamically using the FluentMetadataSource for example (it is by far the easiest way to use artificial fields). You should have a look at this help article. It will give you an idea how to merge two models. 

     I hope this helps, but do let us know if you face any trouble or need guidance though. 
    All the best,
    the Telerik team
    OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
  3. DevCraft banner
Back to Top