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 |--...
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
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
|--...
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
is working on a reply...