A while back I asked about means to exclude a table from the schema export.
As this wasn't possible, I've now added it to my version of the trunk.
Before I commit I wanted to run it by people. Currently I have it set up as
follows:

Tables are included by default. (As before.)

Tables mapped as:

<class name="Products" exportable="false">
 ...

Will not be published in either the 'Drop Table' or the 'Create Table'
commands from the schema export tool. This solves Jira issue 1274. I have
this working including the modification to the xsd/Hbm.generated.cs files.
Is this an acceptable means of excluding certain classes from export? For
reference, the reason for doing this could include mapping Views, tables
from a different project, tables with existing data to be preserved etc.

Your .02c would be useful.

 -Will

Reply via email to