I’m working with MVC3 and EF4. I would like to create a multilingual FAQ functionality. I need to be able to somehow group these entries via groupId (So that I know that this question is the same question -just in different language). So for example I may have the same FAQ question and answer in different languages.
so having this table I would add a GroupId field, but how I make it so that I know that “this” entry belongs to this GroupId.

What’s the best way to achieve this?? What’s the best approach, most efficient.
thanks
Seems like you already have this feature in your current table. Use
FaqIdas yourGroupId. Don’t make theFaqIdautogenerated and makeFaqId+LanguageIdyour composite primary key. In such case yourFaqIdwill point to all language mutations of a single question.You can also do some normalization of your table. You can divide it into
Faq(FaqId(PK),LoginId,IsActive,CreateDate) andFaqLocalization(FaqId(FK,PK),LanguageId(PK),Question,Answer). Selection of columns for these normalized tables depends on your further requirements. Once you have this normalization you can also modifyFaqLocalizationtable and remove composite PK and add newLocalizationId(PK).FaqId(FK) will be yourGroupId.