Hi.
I am binding WPF with Entity-Framework.
The Window.DataContext property is set to a Quote. This Quote has a property Job, that I have to trigger Quote.JobReference.Load it should load from the server.
<ContentControl Content="{Binding Job}"
ContentTemplate="{StaticResource JobTemplateSummary}"/>
As you can see above, I am trying to bind a ContentControl to the Window's DataContext which is a StaticResource Quote class.
I am calling the Load in the Window.Load even handler. Should I've called somewhere else?