UpTheCreek
UpTheCreek

Reputation: 32401

Simplest way of generating new DB tables from Fluent NHibernate?

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

Answers (1)

Paco
Paco

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

Related Questions