A DataContext is used in WPF, Silverlight and various other .NET technologies.
I have several methods that deal with DB and all of them start by calling FaierDbDataContext db = new FaierDbDataContext(); Since …
linq-to-sql datacontext idisposableI want to pass the current DataContext (which is an instance of a ViewModel) as a CommandParameter on a WPF …
wpf xaml binding datacontextI need to figure out how to communicate between ViewModels. I'm new to MVVM so please be kind. Here's a …
c# wpf mvvm viewmodel datacontextI set the datacontext dynamically in code. I would like a button on screen to be enabled/disabled depending if …
c# wpf binding datacontextCan you explain the following WPF code: DataContext="{Binding Path=PlacementTarget,RelativeSource={x:Static RelativeSource.Self}}"> I find it …
wpf binding datacontextI'm importing data between two different database(which have not the same context). So I've two different context. The goal …
sql linq entity-framework datacontext cross-databaseI am not quite grokking the difference between ItemsSource and DataContext. Can someone explain it and back it up with …
silverlight silverlight-4.0 datacontext itemssourceI have a DataContext (Linq to Sql) with over 100 tables, is it possible to get a list of all those …
.net linq asp.net-3.5 datacontext<Canvas.DataContext> <ViewModels:VMSomeControl Model="{Binding RelativeSource={RelativeSource TemplatedParent}}" /> </Canvas.DataContext> <!-- DataContext …
wpf binding datacontext controltemplate ivalueconverterAfter asking this question, where I was informed of how the Table<T>.Attach() method works, I have …
c# linq linq-to-sql datacontext