R – Excluding some tables from Fluent Nhibernate schema Generation

fluent-nhibernatenhibernates#arp-architecture

I have some existing asp.net membership and roles tables in a legacy db and I am mapping them to new entities with Fluent Nhibernate.

I also generate the schema directly from Fluent Nhibernate and I then manually tweak the generated sql script to exclude the existing tables.

Is it possible to say to Fluent Nhibernate to exclude from generation certain tables?

Best Answer

SchemaAction.None() in your ClassMap.

Related Topic