Refactor LINQ TO SQL custom properties that instantiate datacontext?

Instead of creating the DataContext whenever the method is called, store it in HttpContext.Current. Items This will achieve the same effect as storing it in a private field, as it will be unique to the request.

Instead of creating the DataContext whenever the method is called, store it in HttpContext.Current.Items. This will achieve the same effect as storing it in a private field, as it will be unique to the request.

Public class DataContextFactory : IDataContextFactory where T : System.Data.Linq. _context = Activator. = null && (Context.GetChangeSet().Deletes.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions