public static void CleanUp() { if (InternalDataContext != null) { InternalDataContext.Dispose(); InternalDataContext = null; } }