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

Is there a way to share the same connection id with different rlinq file?

3 Answers 35 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
john
Top achievements
Rank 1
john asked on 17 Sep 2012, 12:45 PM
Is there a way to share the same connection id with different rlinq file?

3 Answers, 1 is accepted

Sort by
0
Zoran
Telerik team
answered on 20 Sep 2012, 12:26 PM
Hi Jin,

 Yes, it is possible. In order to have this comfort, you need to extend the metadata of the context class from the .rlinq file you have used first. Please have a look into this help article to get the idea of how to extend the metadata for a context.

Regards,
Zoran
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
0
john
Top achievements
Rank 1
answered on 20 Sep 2012, 12:32 PM
Whether you recommend to put all tables in one rlinq file?
0
Zoran
Telerik team
answered on 25 Sep 2012, 11:41 AM
Hello Jin,

 It is always recommended to use one .rlinq file for all entities if possible. That does save some headaches or additional work to have the model working during runtime. If however, having the model in one .rlinq file is making the file hard to maintain, or the model has more than one logical units, separating it in more than one file is also possible.

Regards,
Zoran
the Telerik team
Follow @OpenAccessORM Twitter channel to be the first one to get the latest updates on new releases, tips and tricks and sneak peeks at our product labs!
Tags
General Discussions
Asked by
john
Top achievements
Rank 1
Answers by
Zoran
Telerik team
john
Top achievements
Rank 1
Share this question
or