You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to ConfORM
Hi!
Is possible to calculate a "model hash" like EF based on the mapping
(on the Configuration object of NH)?
It's not a function properly of ConfORM, would be better to calculate
it directly using NH...
I know that is possible to use the SchemaExport to check if the
mapping is correct for the database but my problem is this:
1. I use CI
2. my build script can migrate data using a custom "migrator" (a C#
class)
3. the migrator is selected using the "past" model hash (in the DB)
and the current model hash (calculated on the mapping)
So is possible to migrate data from DB version "1.0" to db "4.0"
calling all the migrators.