Is there a way to share the same connection id with different rlinq file?
3 Answers, 1 is accepted
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!
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!