Beispiel #1
0
        public virtual void Dispose(bool isManuallyDisposing)
        {
            if (!isDisposed)
            {
                if (isManuallyDisposing)
                {
                    invoiceTipDbContext.Dispose();
                }
            }

            isDisposed = true;
        }
Beispiel #2
0
        private void Dispose(bool disposing)
        {
            if (!disposing)
            {
                return;
            }
            if (invoiceTipDbContext == null)
            {
                return;
            }

            invoiceTipDbContext.Dispose();
            invoiceTipDbContext = null;
        }