How to make SAMPLES namespace support Ensemble?
It can be done, but since all the SAMPLES code targets Caché and none of it uses the Ensemble features, why would you?
The Ensemble equivalent of SAMPLES is ENSDEMO.
If you specifically wanted to make use of the Sample Classes in an Ensemble context then I would suggest one of two approches:
1) Export the Sample Classes and Data and import them into the ENSDEMO namespace though bear in mind that were you to reinstall Ensemble the ENSDEMO database might be replaced
2) The better approach would be to create a new database/namespace which will automatically inherit the Ensembele mappings and then import the SAMPLES classes and data into that new namespace/database