public void ExportSqlSchema(string file) { var fluentConfiguration = this.CreateProductionSchema(); var configuration = fluentConfiguration.BuildConfiguration(); new SchemaExport(configuration).SetOutputFile(file).Create(true, false); }