Fluent Conventions and GenerateSchemaUpdateScript
Hey All.
I am writing my own IClassConvention
that adds a table name prefix and putting square brackets around it. When I call GenerateSchemaUpdateScript
from my Configuration
object, I only get create table
statements back as well as alter table
for the foreign constraints. When I don't have my fluent conventions on, it functions properly.
Any ideas?
Support Staff 2 Posted by James Gregory on 16 May, 2010 05:34 PM
No idea. I'm using
IClassConvention
withSchemaUpdate
with no problems. If you're still having issues, please attach a reproduction of the error.3 Posted by dwhite on 27 May, 2010 04:18 PM
I'm also using
IIdConvention
,IPropertyConvention
,ManyToManyTableNameConvention
andForeignKeyConvention
. Could that combination have anything to do with it?