Reputation: 32401
Given: A DB (containing data), a set of model entity objects, and working NHibernate (fluent) mappings. What is the easiest way to generate the required new DB tables, when new model entities and mappings are added?
Upvotes: 0
Views: 73
Reputation: 8381
NHibernate doens't have a build-in migrations tool. It can generate the whole database, you cannot select parts from it. The best you can do with NHibernate is dump the sql-log of the database generation and copy paste the new parts in a sql script.
Upvotes: 2