Copied to clipboard

Flag this post as spam?

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


  • Julius Bartkus 51 posts 76 karma points
    Sep 02, 2011 @ 11:17
    Julius Bartkus
    0

    Need advise about Umbraco DataContext use of entities

    Hello,

    I have come up with a question about entities taken from generated umbraco datacontext.

    Looking from a layered architecture perspective, where I want to use Presentation, Business and Data layers, would it be a good approach to use entities from generated umbraco Data Context (which in my opinion should be placed in Data layer ) in presentation layer or would it be better to create some "duplicate" entities in Business layer and write a translator within DAO which would translate Umbraco DataContext entities into the Business layer entities? Or is it a good approach just to use the generated ones across the solution ?

    Or maybe I missunderstand some concepts and there is some other right way to use datacontext in layered approach?

    Thanks for answers!:)

  • 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