Click here to Skip to main content
15,907,913 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have recently migrated from WinForms to WPF. and dont know much about its databinding concepts. That's why I need help in this. I have seen EF6 tutorials but they're not making it much clear to me as to how do I fetch a value that is store in another table; I mean the table name in my instance is tblOrderHistory. This table has employee_id and customer_id columns, and I have to fetch the employee and customer names against those IDs from their respective tables. But I dont know how to proceed with it in the context of WPF. Please help me, and give me this quick start so that I may proceed with the rest of my application's bindings.
Your help would be greatly appreciated.

What I have tried:

I have installed the Entity Framework 6 into the Visual Studio app. and the database model is also fetched in it. But I have no specific idea about the next steps and how , where to proceed.
Posted
Updated 4-Dec-20 13:33pm

1 solution

"Binding" involves connecting controls' properties to other properties; on just about anything that is an "object". You decide which objects you want to use to move data between your ui and "data store".

How-to articles for data binding - WPF .NET Framework | Microsoft Docs[^]
 
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