Runtime should have the functionality to create database connection files, much like the arcpy function "CreateDatabaseConnection." If not in runtime itself, the function should be a supported geoprocessing operation within a geoprocessing package so that the "Create Database Connection" function can operate in the runtime environment.