Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I have not looked at the code in detail but my guess is that the migration step is run before the Model synchronization (that is when there is dynamically created proxy classes are created that "links" together the typed properties on your model class with the backing PropertyDataCollection).
If that is the case then you could try to access the data the "old" way as:
(model.Property["ContentReferenceToBeCopied"] as PropertyContentReference).ContentLink