Force The Opening Of The Datacontext's Connection (linq)
When you create a datacontext, its connection is closed until you retrieve objects and it stays open when you retrieve objects in case you use deferred operators or late binding. I
Solution 1:
You can use the DataContext.Connection property to retrieve the connection, and call Open() yourself.
Post a Comment for "Force The Opening Of The Datacontext's Connection (linq)"