This is a migrated thread and some comments may be shown as answers.

XMLMetadatasource and Dynamic Fields

1 Answer 23 Views
Databases and Data Types
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Bill Togkas
Top achievements
Rank 2
Bill Togkas asked on 24 Jul 2012, 06:35 PM
Hi,

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?

1 Answer, 1 is accepted

Sort by
0
Accepted
Serge
Telerik team
answered on 27 Jul 2012, 12:40 PM
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,
Serge
the Telerik team
OpenAccess ORM Q2'12 Now Available! Get your hands on all the new stuff.
Tags
Databases and Data Types
Asked by
Bill Togkas
Top achievements
Rank 2
Answers by
Serge
Telerik team
Share this question
or