Excluding some tables from Fluent Nhibernate schema Generation

fluent-nhibernate, nhibernate, s#arp-architecture

Solution

`SchemaAction.None()` in your ClassMap.

Problem

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?

Original source