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

Popular posts from this blog

c# - How to set Z index when using WPF DrawingContext? -

razor - Is this a bug in WebMatrix PageData? -

android - layout with fragment and framelayout replaced by another fragment and framelayout -