Пример #1
0
 /// <summary>
 /// Releases this <see cref="NPhoenixConnection"/> object's database and JDBC resources immediately instead of waiting for them to be automatically released.
 /// </summary>
 public void Close()
 {
     _connection.Close();
 }
Пример #2
0
 /// <summary>
 /// Releases this  <see cref="Statement"/> object's database and JDBC resources immediately instead of waiting for this to happen when it is automatically closed.
 /// It is generally good practice to release resources as soon as you are finished with them to avoid tying up database resources.
 /// </summary>
 public void Close()
 {
     _statement.Close();
 }