CloseStatement() public méthode

public CloseStatement ( ) : void
Résultat void
 public void Dispose()
 {
     if (statement != null && statement.IsPrepared)
     {
         statement.CloseStatement();
     }
 }
Exemple #2
0
        protected override void Dispose(bool disposing)
        {
            if (statement != null && statement.IsPrepared)
            {
                statement.CloseStatement();
            }

            base.Dispose(disposing);
        }
Exemple #3
0
        protected override void Dispose(bool disposing)
        {
            if (disposed)
            {
                return;
            }

            if (!disposing)
            {
                return;
            }

            if (statement != null && statement.IsPrepared)
            {
                statement.CloseStatement();
            }

            ResetReader();

            base.Dispose(disposing);

            disposed = true;
        }