March 2009 Entries

LINQ to SQL DataContext Provider

I’ve significantly altered the approach presented below in the following post.  However, the post below may still be helpful for further reference. So I’ve been a user of NHibernate for a while on my main project at work.  I got a change to refactor some services related to the application, and decided to use LINQ to SQL as the ORM, mainly so I could do a little more LINQ and check out the features of LINQ to SQL in a little more detail.  One issue that seems to keep coming up among users is the lifetime of a DataContext. ...

posted @ Monday, March 16, 2009 10:56 PM | Feedback (2)