Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

2
Help with database model
Post Body

I'm working on an application using .net entity framework. The application keeps track of client information for clients enrolled in programs provided by the organization. Currently I want to alter the database to be able to track family members of the clients as well. Family members will have a lot of the same attributes as regular clients but will not have all of them. Also, a clients family member might be a client themselves.

There's two ways I've thought this could be handled. The first would be that the family members reside in there own table and there is a bridge table between clients and family members. However, if one of the family members becomes a client or vise versa people would need to be moved from one table to the other which doesn't seem preferable.

The other way I thought to do this was just to put them all in the clients table and add a family id for grouping and a flag to say whether they are a client or just a family member of a client. I like this option better, but many of the fields that are not required for family members would be left null (which doesn't seem horrible to me).

Anyone have any thoughts or a better way to organize this?

Author
Account Strength
80%
Account Age
11 years
Verified Email
Yes
Verified Flair
No
Total Karma
21
Link Karma
1
Comment Karma
20
Profile updated: 1 week ago
Posts updated: 1 month ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
9 years ago