Exemplo n.º 1
0
 private void method_2()
 {
     if (!dbCommand_0.Data.UseMultipleResultsets)
     {
         if (dbCommand_0.Data.Reader != null)
         {
             dbCommand_0.Data.Reader.Close();
         }
         dbCommand_0.ClosePrivateConnection();
     }
 }
        private void HandleQueryFinally()
        {
            if (!_data.UseMultipleResultsets)
            {
                if (_data.Reader != null)
                {
                    _data.Reader.Close();
                }

                _command.ClosePrivateConnection();
            }
        }