Fluent NHibernate und PostgreSQL, SchemaMetadataUpdater.QuoteTableAndColumns - System.NotSupportedException: die Angegebene Methode wird nicht unterstützt

Ich bin mit fluentnhibernate mit PostgreSQL. Fluentnhibernate ist die Letzte version. PosrgreSQL version ist 8.4.
Mein code zum erstellen ISessionFactory:

public static ISessionFactory CreateSessionFactory()
{
        string connectionString = ConfigurationManager.ConnectionStrings["PostgreConnectionString"].ConnectionString;
        IPersistenceConfigurer config = PostgreSQLConfiguration.PostgreSQL82.ConnectionString(connectionString);

        FluentConfiguration configuration = Fluently
            .Configure()
            .Database(config)
            .Mappings(m =>
                m.FluentMappings.Add(typeof(ResourceMap))                                    
                                .Add(typeof(TaskMap))
                                .Add(typeof(PluginMap)));
        var nhibConfig = configuration.BuildConfiguration();
        SchemaMetadataUpdater.QuoteTableAndColumns(nhibConfig);
        return configuration.BuildSessionFactory();
}

Wenn ich das ausführen von code in Zeile SchemaMetadataUpdater.QuoteTableAndColumns(nhibConfig); throw error: System.NotSupportedException: die Angegebene Methode wird nicht unterstützt. Helfen Sie mir, bitte! Ich bin sehr brauchen für die Lösung.
Beste Grüße

InformationsquelleAutor Vyacheslav | 2010-03-13
Schreibe einen Kommentar