This question is locked. New answers and comments are not allowed.
In my project I'd like to turn logging on for debugging purposes, but make sure it's off when I move to production. I'm trying to configure Data Access to get its logging configuration from the web.config file as described in this page:
http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object
However, I don't see any description as to what fields and attributes I can use in the <openAccessConfiguration> section. I'm sure they all map back to the fields in the model settings dialog, but it would be much easier with a reference page in the documentation. Can you point me in the right direction to a reference for this configuration section?
Thanks.
http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object
However, I don't see any description as to what fields and attributes I can use in the <openAccessConfiguration> section. I'm sure they all map back to the fields in the model settings dialog, but it would be much easier with a reference page in the documentation. Can you point me in the right direction to a reference for this configuration section?
Thanks.
5 Answers, 1 is accepted
0
Accepted
Hello Andrew,
For more information about the attributes that you can use in the web.config, please refer to this article.
I hope that helps. Please do not hesitate to get back to us if any questions arise.
Regards,
Boris Georgiev
Telerik
For more information about the attributes that you can use in the web.config, please refer to this article.
I hope that helps. Please do not hesitate to get back to us if any questions arise.
Regards,
Boris Georgiev
Telerik
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
0
Andrew
Top achievements
Rank 1
answered on 14 Feb 2014, 09:06 PM
Perfect! It would be helpful to link to that page in the previous one I linked to.
Thanks.
Thanks.
0
Hi Andrew,
Thank you for the feedback. We are working hard to enhance the documentation and all comments and recommendations are welcome.
If you have any other comments, feedbacks or recommendations about Telerik Data Access documentation, do not hesitate to contact us again.
Regards,
Boris Georgiev
Telerik
Thank you for the feedback. We are working hard to enhance the documentation and all comments and recommendations are welcome.
If you have any other comments, feedbacks or recommendations about Telerik Data Access documentation, do not hesitate to contact us again.
Regards,
Boris Georgiev
Telerik
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.
0
Shawn Krivjansky
Top achievements
Rank 1
answered on 10 Mar 2014, 06:00 AM
I have been referencing a namespace for what seems like years now...
Similar to this page in the doc:
http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object
I am now getting informational messages in my projects saying that path doesn't exist (any longer):
<openAccessConfiguration xmlns="http://www.telerik.com/OpenAcessConfiguration">
Did you recently change/rebrand this location?
Tell anybody? Is it documented any place?
Similar to this page in the doc:
http://docs.telerik.com/data-access/developers-guide/data-access-domain-model/managing-the-openaccesscontext/data-access-tasks-model-tools-configure-backend-object
I am now getting informational messages in my projects saying that path doesn't exist (any longer):
<openAccessConfiguration xmlns="http://www.telerik.com/OpenAcessConfiguration">
Did you recently change/rebrand this location?
Tell anybody? Is it documented any place?
0
Hi Shawn,
I am afraid that there is a known issue when configuring the OpenAccessContext via config file and using this namespace. The OpenAccessConfiguration.xsd file is not deployed correctly after Telerik Data Access installation. You should have in mind that declaring the XML namespace attribute xmlns=http://www.telerik.com/OpenAcessConfiguration is not mandatory. It is only required if you want to have IntelliSense while writing the configuration entries.
To workaround the issue and use the IntelliSense, you should copy the attached OpenAccessConfiguration.xsd file in the ".\Program Files\Visual Studio(version)\Xml\Schemas" folder.
I hope that helps.
Regards,
Boris Georgiev
Telerik
I am afraid that there is a known issue when configuring the OpenAccessContext via config file and using this namespace. The OpenAccessConfiguration.xsd file is not deployed correctly after Telerik Data Access installation. You should have in mind that declaring the XML namespace attribute xmlns=http://www.telerik.com/OpenAcessConfiguration is not mandatory. It is only required if you want to have IntelliSense while writing the configuration entries.
To workaround the issue and use the IntelliSense, you should copy the attached OpenAccessConfiguration.xsd file in the ".\Program Files\Visual Studio(version)\Xml\Schemas" folder.
I hope that helps.
Regards,
Boris Georgiev
Telerik
OpenAccess ORM is now Telerik Data Access. For more information on the new names, please, check out the Telerik Product Map.