Καλώς ορίσατε στο dotNETZone.gr - Σύνδεση | Εγγραφή | Βοήθεια

C# and .NET Tips and Tricks

Quests in programming in .NET

Σεπτέμβριος 2010 - Δημοσιεύσεις

Entity Framework, the Context, ComboBoxes and Include Foreign Key columns.
How do they all connect? Well it boils down to the following questions: If I am using Entity Framework in a Desktop application when should I open the Context and for how long should I keep it open? I have ComboBoxes that will be used to select values for the Reference Properties of my Entity Framework objects. How am I going to achieve this? Should I bind to Reference Properties or should I include the Foreign Keys in my model (option named “Include Foreign Key columns in the model”) and bind to

Διαβάστε περισσότερα »

Posted: Πέμπτη, 9 Σεπτεμβρίου 2010 7:48 πμ από iwannis | 0 σχόλια
Δημοσίευση στην κατηγορία: ,