c# - EF 4 relationship in the same entity -


i have model this,

my menu entity have relation 0..1 0..1 same entity (in themself) .. have rootmenu recursively .. dont know how best way savechange ef gave me errors..alt text

thank you!

change 0..1 1, or 1 0..1 (depending on direction association goes). pk not nullable, 1 side of association has :1


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -