Manually Setting Up Associations in POCO

by 

|

|  

in

When manually writing Plain Old CLR Objects (POCOs) (that is, not using the T4 template mechanism), you’ll be left with not only replicating the structure of the table itself in the object layout, but also any objects associated with said structure (foreign keys). As an example, note the following association: The SalesTerritory object, even though…

Read more…

Single-Stepping Through MS Code

by 

|

|  

in

Microsoft allows you to single-step through the framework code via Visual Studio 2008/10. To enable this under 2010 is trivial. Do the following: Within Visual Studio, open Tools > Options…. The following window displays. Browse to Debugging – Symbols. Make sure the Microsoft Symbol Servers checkbox is checked, and indicate a place on your drive…

Read more…