2,163 reputation
21130
bio website kristofclaes.be
location Belgium
age 31
visits member for 4 years, 1 month
seen Dec 24 at 13:32

Develops for the web, enjoys ASP.NET MVC, intrigued by Ruby (on Rails) and node.js, amateur photographer, plays a bit of guitar, atheist.


Nov
8
awarded  Yearling
Oct
29
awarded  Popular Question
Aug
19
answered Generic Repositories with DI & Data Intensive Controllers
Jul
17
awarded  Good Answer
Jul
2
awarded  Curious
Mar
27
awarded  Famous Question
Jan
10
awarded  Notable Question
Dec
2
awarded  Popular Question
Nov
26
awarded  Nice Answer
Nov
26
revised Returning an IQueryable from an IRepository
The URL of Mark's blog post had changed.
Nov
8
awarded  Yearling
Apr
4
accepted Is there a better way to model a many-to-many relationship on the same table with Entity Framework?
Apr
4
comment Is there a better way to model a many-to-many relationship on the same table with Entity Framework?
Thanks. I've updated my question to include the solution based on your answer.
Apr
4
revised Is there a better way to model a many-to-many relationship on the same table with Entity Framework?
Added solution
Apr
3
comment Is there a better way to model a many-to-many relationship on the same table with Entity Framework?
I know what the table in the database should look like, but it still needs to be mapped through Entity Framework somehow. But if I understand you correctly, you say that when I want to link Product 1 to Product 2, I should insert two records? { 1, 2 } and { 2, 1 }?
Apr
3
asked Is there a better way to model a many-to-many relationship on the same table with Entity Framework?
Feb
25
awarded  Good Question
Feb
24
awarded  Popular Question
Feb
24
accepted How should you TDD a Yahtzee game?
Feb
7
comment Helper static methods in TDD
@user960567 : Instantiating a class like that is really not expensive. Take a look at this blogpost: ayende.com/blog/4811/performance-numbers-in-the-pub - 7,715,305 instances created in one second.