Fluent NHibernate AutoMapping SchemaExport - Change object model and Keeping Data
-
11-11-2019 - |
سؤال
Is there a way for the fluent automapping to alter a schema when the data object model changes (adding a new property to a class), currently it only drops and recreates the database schema, which would lose all the data in the database. Can it use Alter table instead of drop / create table, or am I just dreaming?
Can fluent update the database schema according to automapping without losing data?
Cheers,
لا يوجد حل صحيح
لا تنتمي إلى StackOverflow