AI OnAI Off
Thanks. The part about Renaming by API (http://world.episerver.com/Documentation/Items/Developers-Guide/EPiServer-CMS/7/Content/Pages-and-Blocks/Refactoring-Content-Type-Classes/#Rename) was exacly what i wanted to do. And it worked.
Johan: How would you do a rename of a property that is defined in a baseclass and therefore exists on all pagetypes?
Per: The migration API is unfortunately very limited so in your case I'm afraid that you would need to specify each concrete page type and change the same property on each of them.
Is there a easy way of renaming a property on a pagetype. The property is in use, so I can not delete it and create a new one. There should have been a GUID or propertydefinitiontypeattribute that took a ID property like this
[PropertyDefinition(ID = 576)]
public virtual XhtmlString Body { get; set; }
Old property
public virtual XhtmlString MainBody { get; set; }