Copied to clipboard

Flag this post as spam?

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


  • Sujith 9 posts 29 karma points
    Jul 30, 2010 @ 18:55
    Sujith
    0

    How can we use stored procedures with Umbraco

    Hi friends

    Can you guys tell me how we can use Stored procedures in Umbraco. I have doubts how we can implement it with SQLHelper and add parameters.

    Best Regards

    Sujith pv

  • Jeff Grine 149 posts 189 karma points
    Jul 30, 2010 @ 20:21
    Jeff Grine
    0

    SQLHelper just runs dynamic SQL so you can run a stored procedure by passing a string to execute it - something like "exec sproc @param=value".

    Not ideal, but it's easy enough to reference your own DAL instead.

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Aug 02, 2010 @ 08:31
    Aaron Powell
    0

    I wouldn't use the Umbraco data layer for any of your own custom stuff, you should always use your own ORM and DAL.

    NHibernate, Subsonic, Entity Framework 4, etc are all good choices.

  • Jeroen Breuer 4908 posts 12265 karma points MVP 4x admin c-trib
    Aug 02, 2010 @ 09:26
    Jeroen Breuer
    0

    And don't forget LLBLGen is also a good choice for an ORM and DAL ;).

Please Sign in or register to post replies

Write your reply to:

Draft