public string Export(DomainMap map) { foreach (var type in map.Mappings.MappedTypes) { var mapping = map.Mappings.For(type); dialect.CreateTable(mapping.Table, x => mapping.ExportTo(dialect)); } return(builder.ToString()); }