Linq to SQL DataContext Lifetime Management(west-wind.com)

submitted by rstrahlrstrahl(7226) 4 years, 3 months ago

The DataContext is the central object that holds LINQ to SQL together. This post talks about a few different approaches you can use to hang on to your DataContext in the course of a request, to pass between layers or to manage on a per thread/request level.

1 comment |category: |Views: 238

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

posted by JemmJemm(9604) 4 years, 3 months ago 0

Very useful article :)

Reply

information Login or create an account to comment on this story