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

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

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