DataContext.Dispose Method

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Releases the resources used by the DataContext class.

Namespace:   System.Data.Linq
Assembly:  System.Data.Linq (in System.Data.Linq.dll)

NameDescription
System_CAPS_pubmethodDispose()

Releases all resources used by the current instance of the DataContext class.

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the DataContext class and optionally releases the managed resource.

Return to top
Show: