标签: c# wpf entity-framework data-binding treeview
从edmx绑定自引用表的最佳解决方案是什么:
指向WPF TreeView控件,如下所示:
TreeView
答案 0 :(得分:1)
Josh Smith有一个很棒的article on Code Project,它将指导您如何制作TreeView可以绑定的视图模型。你不会因为使用EF而逃脱,因为EF不会进行递归。