SchemaUpdate does not delete tables or delete columns

I use SchemaUpdate to make changes to the database based on some configuration. It works great when adding new tables or columns. However, it does not work when columns are deleted or tables are deleted. The mapping file reflects these changes, but SchemaUpdate does not seem to recognize this. I do not want to drop tables and recreate them, because I want the data to be saved.

Does anyone know if this function "Delete and Delete" supports SchemaUpdate?

thanks

+3
source share
1 answer

- SchemaUpdate /. - () , , /. , SchemaUpdate , .

. NHibernate SchemaUpdate .

+8

Source: https://habr.com/ru/post/1724588/


All Articles