This commit provides an accessor for the underlying ConnectionFactory that a DatabaseClient uses. Closes gh-25521