Esempio n. 1
0
        /// <summary>
        /// Dispose the used resource.
        /// </summary>
        /// <param name="disposing">The disposing flag.</param>
        protected override void Dispose(bool disposing)
        {
            if (_disposed)
            {
                return;
            }

            if (disposing)
            {
                EFHelper.DisposeContext <AppDataModelContainer>();
                base.Dispose(disposing);
            }

            // Free any unmanaged objects here.
            //
            _disposed = true;
        }