DW Metamodel code