Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
hi, i have develope some vb.Net modules for DNN portals
in a DNN module we have to have some class to access the data base
a InfoClass, info of table fields
ControllerClass
DataProviderClass and a SqlDataProvider where we call the stored procedores
i need to know the best way to do the same in Umbraco, the best way to access a table in Umbraco data base in VB.NET
thanks
i just want to know the best practice/way to query a custom table from .Net.thanks
Hi,
If you want to support multiple databases you can use the builty-in sqlhelper. You find an example how to use this on this thread http://our.umbraco.org/forum/developers/api-questions/23592-how-to-use-SqlHelper-and-read-table-data
But you can use any ORM (entity Framewwork, NHibernate, Ado.net) to access your data. Umbraco doesn't restrict you.
Hope this helps you a bit,
Richard
thanks Richard,
for you what's the best approach to do this?
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
help migrate from DNN
hi, i have develope some vb.Net modules for DNN portals
in a DNN module we have to have some class to access the data base
a InfoClass, info of table fields
ControllerClass
DataProviderClass and a SqlDataProvider where we call the stored procedores
i need to know the best way to do the same in Umbraco, the best way to access a table in Umbraco data base in VB.NET
thanks
i just want to know the best practice/way to query a custom table from .Net.
thanks
Hi,
If you want to support multiple databases you can use the builty-in sqlhelper. You find an example how to use this on this thread http://our.umbraco.org/forum/developers/api-questions/23592-how-to-use-SqlHelper-and-read-table-data
But you can use any ORM (entity Framewwork, NHibernate, Ado.net) to access your data. Umbraco doesn't restrict you.
Hope this helps you a bit,
Richard
thanks Richard,
for you what's the best approach to do this?
thanks
is working on a reply...