Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • hugo 3 posts 23 karma points
    Aug 17, 2012 @ 20:40
    hugo
    0

    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

  • hugo 3 posts 23 karma points
    Aug 27, 2012 @ 02:59
    hugo
    0

    i just want to know the best practice/way to query a custom table from .Net.
    thanks

     

  • Richard Soeteman 3875 posts 12037 karma points MVP
    Aug 27, 2012 @ 13:26
    Richard Soeteman
    0

    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

  • hugo 3 posts 23 karma points
    Aug 27, 2012 @ 20:20
    hugo
    0

    thanks Richard,

    for you what's the best approach to do this?

    thanks

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies