You can create an extension in a separate file for sharing by multiple models or one which is embedded in a single model.
A shared extension is a library of metamodel extensions and generation parameters saved in a file with the .XEM extension. This file is stored in a central area and can be referenced by models to guarantee data consistency and save time to the user.
An embedded extension is saved as part of your model and develops object definitions and generation parameters in this particular model.