Quantcast
Channel: ADO.NET, Entity Framework, LINQ to SQL, NHibernate
Viewing all articles
Browse latest Browse all 1698

IDisposable Interface

$
0
0

Hi,

I am using entity framework in my application and i know one of making sure the context is disposed is by using @using(). I don't want to use above method but instead inherit the class from IDisposable interface &  implement the dispose method. How does .net know when to call the Dispose method??


Viewing all articles
Browse latest Browse all 1698

Trending Articles