I was wondering if I can make use of the same classes that umbraco uses to connect to the database?
I want to create a new module just to learn how umbraco works, so now I want to fetch information from the database, but I do not wish to create my own database model layer, but instead I would like to use the same connection that umbraco used when installing the itself.
Where can I find these files? What are they named? And how do I use them?
Ive google alooot, but I cant find how to use the built in umbraco database connecton.
Is there other plugins that must be used to accomplish this? Is it not recommended perhaps?
Connect to the database umbraco is installed on?
Hello,
I was wondering if I can make use of the same classes that umbraco uses to connect to the database?
I want to create a new module just to learn how umbraco works, so now I want to fetch information from the database, but I do not wish to create my own database model layer, but instead I would like to use the same connection that umbraco used when installing the itself.
Where can I find these files? What are they named? And how do I use them?
Ive google alooot, but I cant find how to use the built in umbraco database connecton.
Is there other plugins that must be used to accomplish this? Is it not recommended perhaps?
After more searching I finally stumbled over this treenode tutorial: http://www.netaddicts.be/articles/building-a-custom-section-to-manage-external-data.aspx where he is making use of the umbraco.DataLayerHelper. Imported into the project with "using umbraco.DataLayer".
is working on a reply...