<p>I got a typed (not connected) dataset, and many records (binary seriliazed) created with this dataset.
I've added a property to one of the types, and I want to convert the old records with the new data set.
I know how to load them: providing custom binder for the BinaryFormatter with the old schema dll. 
The question is how can I convert objects of the old type to objects of the new type - both types has the same name but the new one has one more property.</p>

[{'answer_id': 81192, 'author': 'paulwhit', 'author_id': 7301, 'author_profile': 'https://Stackoverflow.com/users/7301', 'pm_score': 0, 'selected': False, 'text': '<p>Can you make the new class inherit from the old one? If so, maybe you can simply deserialize into the new one through casting.</p>\n\n<p>If not, another possible solution is to implement a batch operation where you include a reference to the old class and new class in different namespaces, hydrate the old object, perform a deep copy into an object of the new class, and serialize the new object.</p>\n'}, {'answer_id': 81230, 'author': 'Brownie', 'author_id': 6600, 'author_profile': 'https://Stackoverflow.com/users/6600', 'pm_score': 2, 'selected': False, 'text': '<p>If the only difference between the existing dataset and the new one is an added field then you can "upgrade" them by writing out the old ones to XML and then reading that into the new ones.  The value of the added field will be DBNull.</p>\n\n<pre><code>MyDataSet myDS = new MyDataSet();\nMyDataSet.MyTableRow row1 = myDS.MyTable.NewMyTableRow();\nrow1.Name = "Brownie";\nmyDS.MyTable.Rows.Add(row1);\n\nMyNewDataSet myNewDS = new MyNewDataSet();\n\nusing(MemoryStream ms = new MemoryStream()){\n    myDS.WriteXml(ms);\n    ms.Position = 0;\n    myNewDS.ReadXml(ms);\n}\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/80766', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']