Пример #1
0
            protected override void Dispose(bool disposing)
            {
                if (disposing)
                {
                    if (this.reader != null)
                    {
                        this.reader.Dispose();
                        this.reader = null;
                    }
                }

                base.Dispose(disposing);
            }
Пример #2
0
            protected override void Dispose(bool disposing)
            {
                if (disposing)
                {
                    if (this.reader != null)
                    {
                        this.reader.Dispose();
                        this.reader = null;
                    }
                }

                base.Dispose(disposing);
            }