Added GetDBFromContext