Click here to Skip to main content
15,884,898 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi in Wpf how Show Data From Database Tables in TreeView With Entity FrameWork DataBase First Technology?
i have 2 Table in follow Address
Model

please help me?
Posted
Comments
Nelek 2-Sep-14 5:18am    

1 solution

Try this

C#
treeview.DataContext = context.entitySet.Where(f => f.From == null)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900