cdmFromCon function

Create a CDM reference object from a database connection