Copied to clipboard

Flag this post as spam?

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


  • Brendan Rice 538 posts 1102 karma points
    Jun 23, 2010 @ 15:57
    Brendan Rice
    0

    Member Aggregate Object

    I have a requirement to have an aggregate object with member being the root of the aggregate (see examle object graph below).  The PersonalAccountDetails will be a collection of PersonalAccounts.

    So far I have added textstring properties to the MemberType for FirstName/LastName, I am unsure how best to go about storing the PersonalAccountDetails in Umbraco.  What I was thinking of doing was having a seperate table and doing a lookup against the email address as it is a unique key in our database.  This seems messy to me is there a better way of going about this?

    Thanks in advance.

    i.e.
    Member
    |-FirstName
    |-LastName
    |-PersonalAccountDetails
      |--Id
      |--CurrentValue
      |--AccountType
      |--...

     

     

     

     

  • Anders Brännmark 228 posts 280 karma points
    Jun 28, 2010 @ 21:49
    Anders Brännmark
    1

    Are you going to use membership to auth members? That way you can pretty easy tap into profile also, that will enable you to get and set profile values. Aaron has written pretty step by step to use the umbraco member type properties with asp.net profile. http://legacy.aaron-powell.com/blog/july-2009/umbraco-member-profiles.aspx

     

Please Sign in or register to post replies

Write your reply to:

Draft