Ich versuche Subsoinc 3.0.0.1 zu verwenden, um eine Verbindung zu mysql db herzustellen.Subsonic funktioniert nicht mit MySQL (5.0.51a)
Ich habe dll Referenz und Verbindungszeichenfolge
Dann app.config I Vorlagen von Active Ordner in meine Lösung in Ordner kopiert und bearbeitet Namespace und Verbindungszeichenfolge, aber dann bekomme ich diese Fehlermeldung:
Error 10 Running transformation: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server) at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at Microsoft.VisualStudio.TextTemplatingB345C0F834877921095C8F23912FC356.GeneratedTextTransformation.GetReader(String sql) at Microsoft.VisualStudio.TextTemplatingB345C0F834877921095C8F23912FC356.GeneratedTextTransformation.LoadTables() at Microsoft.VisualStudio.TextTemplatingB345C0F834877921095C8F23912FC356.GeneratedTextTransformation.TransformText() C:\Users\Hex\Documents\Visual Studio 2008\Projects\Ceger\Ceger.DAL\Models\Structs.tt 1 1
Dann fand ich MySQL.ttinclude und Settings.ttinclude in TemplateProviders und ersetzte Dateien von ActiveRecord mit ihnen, aber das änderte nicht alles.
Ich habe auch mit LinqTemplates versucht.
RTFA :) "Dann fand ich MySQL.ttinclude und Settings.ttinclude in TemplateProviders und ersetzte Dateien von ActiveRecord mit ihnen, aber das änderte nicht alles." –