I am integrating SqlCacheDependency to use in my LinqToSQL datacontext. I am using an extension class for Linq querys found here - http://code.msdn.microsoft.com/linqtosqlcache
I have some scenarios where I need to have multiple calls to .SubmitChanges() on a datacontext, but I want to explicitly control the transaction myself to make it atomic. For a while I have been doing
Similar error as other questions, but not quite the same, I am not trying to attach anything. What I am trying to do is insert a new row into a linking table, specifically UserAccomplishment. Relatio
I have some code that looks like this: <Expander Header=\"{Binding SelectedSlot.Name}\" Visibility=\"{Binding ShowGroupSlot, Converter={StaticResource BooleanToVisibility}}\">
I\'m trying to do the following thing: I have a TabControl with several tabs. Each TabControlItem.Content points to PersonDetails which is a UserControl
Say I have a L2S Update and I would like to display what changed to the user.Where does GetChangeSet() get populated?Immediately after I assign values or after con开发者_开发百科text.SubmitChanges()?
Normally when you want a databound control to \'update,\' you use the \"PropertyChanged\" event to signal to the interface that the data has changed behind the scenes.
I need to set the ConnectionString for my DataContext\'s based on an AppSetting.I am trying to do this by creating a Partial Class for each DataContext.The below is what I have so far and I am wonderi
I am getting a Cannot access object: DataContext after it\'s been disposed in the below DAL method.I thought that I would be okay calling dispose there.result is an IEnumurable and I thought it was IQ
Is there anyway to stop automatic DataContext inh开发者_运维知识库eritance in Silverlight? I Set my DataContext on my parent UserControl in code. As a result all the xaml bindings inside the UserCont