Quantcast
Channel: Entity Framework
Viewing all articles
Browse latest Browse all 10318

New Post: Automatically detect and refresh data changes in EF6

$
0
0
@Mathias Using SqlDependency to do this is something we have considered in the past and we may still consider again in the future. I'm not an expert on SqlDependency but I believe there are some scalability issues with using it which may mean that a different solution is more appropriate. Regardless, I agree that this is something that would be very useful, but we don't have any concrete plans to implement anything at this time.

It's also worth noting that the AutoRefresh code in the link is making use of the ObjectContext APIs and the data binding associated with these APIs. Usually the data binding done with the DbContext APIs works much better than the older code. Walkthroughs for WPF and WinForms can be found here: http://msdn.microsoft.com/en-us/data/ee712907

Thanks,
Arthur

Viewing all articles
Browse latest Browse all 10318

Trending Articles