private void close() { if (this.client != null && this.statement != null && !this.client.IsClosed()) { this.client.Execute(c => c.statement_close(this.statement)); this.client = null; this.statement = null; } }
private void close() { if (this.client != null && this.connection != null && !this.client.IsClosed()) { this.client.Execute(c => c.closeConnection(this.connection)); this.client = null; this.connection = null; } }
internal DBAbstractStatement(AbstractJDBCClient client, RStatement statement) { this.client = client; this.statement = statement; }
internal DBPreparedStatement(AbstractJDBCClient client, RStatement statement) : base(client, statement) { }
internal DBConnection(AbstractJDBCClient client, RConnection connection) { this.client = client; this.connection = connection; }