Getting started with MObject.apex
Namespace Free
When specifying the field names in MObject.apex, we don't need to consider the namespaces, as they are taken care of. MObject.apex will detect the namespace for us.
Pricebook2 pb = [ ... ];
MObject mo = MObject.create(pb);
mo.put('Code__c', 'New code');
// Equivalent to this
mo.put('yourapp__Code__c', 'New code');