according DB and or configuration generate related ORM code