NHibernate (and Fluent): Possible to prevent a specific table from being created via SchemaExport.Create? -
i'm using fluent nhibernate (and i'm newbie). have mapped read-only table exists in database (it's view in db). in addition, have mapped new classes want create tables using schemaexport.create().
in fluent mapping, have specified "readonly()" mark view immutable. however, when execute schemaexport.create(), still tries create table error "there object named 'vw_existing'".
is there way prevent nhibernate trying create specific table?
i supposed export , modify sql (setoutputfile), nice use schemaexport.create().
thanks.
you're looking for
schemaaction.none();
Comments
Post a Comment