-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
FluentNHibernate 3.1.9
NH 5.3.9
MySqlConnector 1.3.11
NHibernate.Driver.MySqlConnector 2.0.0
Executing the following code doesn't work:
var config = Fluently.Configure()
.Database(MySQLConfiguration.Standard
.ConnectionString("User Id=aaa;Password=bbb;Host=localhost;Port=3306;Database=test;Default Command Timeout=120;Min Pool Size=0;Max Pool Size=100;Connection Lifetime=0;Character Set=utf8;")
.Dialect<MySQLDialect>()
.Driver<MySqlConnectorDriver>()
.ShowSql()
.FormatSql())
.Mappings(x => x.FluentMappings.AddFromAssemblyOf<User>())
.BuildConfiguration();
//var updater = new SchemaExport(config);
//updater.Create(true, true);
var updater = new SchemaUpdate(config);
updater.Execute(true, true);
Note: create does work (but update doesn't)
Metadata
Metadata
Assignees
Labels
No labels