So, if I change entity's namespace, then PerformSafely silently succeeds: there are no unsafe actions. But if there is actual data in the entity any ugrade will fail, since DO tries to delete all data from the moved entity. For example. Move an entity Test.EnNodeShape -> Test2.EnNodeShape This will result in this SQL during upgrade:
Which is actually unacceptable. Luckily the workaround is to add a RenameTypeHint. I suppose there must be an unsafeaction during upgrade or proper NS change handling |
Hello xumix, fix would be available in DataObjects.Net 4.5.8/4.6.4 Namespace-only renames (more precisely renames that don't change TypeInfo.Name) would be automatically tracked and processed without additional hints. |
Thanks for the report, problem is confirmed, we've sent combat robots to punish authors of this bug :-)