--
You received this message because you are subscribed to the Google Groups "altnetisrael" group.
To post to this group, send email to altnet...@googlegroups.com.
To unsubscribe from this group, send email to altnetisrael...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/altnetisrael?hl=en.
--
You received this message because you are subscribed to the Google Groups "altnetisrael" group.
To post to this group, send email to altnet...@googlegroups.com.
To unsubscribe from this group, send email to altnetisrael...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/altnetisrael?hl=en.
To unsubscribe from this group, send email to altnetisrael...@googlegroups.com.
To unsubscribe from this group, send email to altnetisrael...@googlegroups.com.
To unsubscribe from this group, send email to altnetisrael...@googlegroups.com.
I wouldn't like having all the previous version of the old domain model with every version either, but I'd still go with the string conversion before deserailizing to "current" object.And the conversion logic isn't scattered around - it's, as Ken and Oren said, a series of converters from Vn to Vn+1, running serially.Regarding [DataMember(Name="")] - true, but insufficient when renaming DataContracts (since the type name is embedded in the XML).
I'm not even sure how a model-2-model conversion look like in code. I would need to load to memory 2 assemblies with the same name (ok) but how would I write a code that converts between two types with the same name. Or I would need to add a numerical suffix to class names - but I would need to do it in every drop to qa...
As for not doing anything but object-2-object - if the data is in DB and not xml then it does make sense to do migration without the old objects (there is always a migration script with db).
Dotan -IIRC I was hoping that would be the exact behavior, but had a rude awakening. Was I wrong?