Fluent Conventions and GenerateSchemaUpdateScript

dwhite's Avatar

dwhite

21 Apr, 2010 07:47 PM via web

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?

  1. Support Staff 2 Posted by James Gregory on 16 May, 2010 05:34 PM

    James Gregory's Avatar

    No idea. I'm using IClassConvention with SchemaUpdate with no problems. If you're still having issues, please attach a reproduction of the error.

  2. 3 Posted by dwhite on 27 May, 2010 04:18 PM

    dwhite's Avatar

    I'm also using IIdConvention, IPropertyConvention, ManyToManyTableNameConvention and ForeignKeyConvention. Could that combination have anything to do with it?

Reply to this discussion

Preview Comments are parsed with Markdown. Help with syntax

Attached Files

    You can attach files up to 10MB

    How many minutes are in an hour?