I have two table in my database. One called person and one called team. A person can be on one team.
How do I check to find all the people in person that are not on a team using LINQ or sql??
I have two table in my database. One called person and one called team.
Share
How do you represent the linkage of a person to a team. Do you use a teamID field in person? If so, what do you do when a person is not on a team? Keep it null?
Set it to -1?
Maybe you have a person_team cross table (which would be odd because you said that a person could only be on one team). If so
Or if you have something else — tell us.