db*Connect functions replaced by DbConnection class