Example #1
0
void level1_connector::do_end_transaction(connection_handle const & handle, SQLSMALLINT completion_type) const
{
	auto const return_code = level1_api_->end_transaction(handle.type(), handle.handle, completion_type);
	impl::throw_on_error(return_code, *this, handle);
}
Example #2
0
diagnostic_record level1_connector::do_get_diagnostic_record(connection_handle const & handle) const
{
	return impl::get_diagnostic_record(*level1_api_, handle.type(), handle.handle);
}