By default MapPrep no longer propagates key definitions into the schema for the new mapped structure because they are generally not required. However there is a new command-line option -k which causes key information to be retained as previously. - CodeGen Documentation