[Mono-list] Multiple issues with sqlmetal and MySql

Jonathan Pryor jonpryor at vt.edu
Thu Nov 4 16:42:30 EDT 2010


On Thu, 2010-11-04 at 11:12 -0700, st0p wrote:
> 2) When I create an instance of the generated DataContext, using a MySql
> connection object, I´m getting the following generated sql:
> SELECT [t0].[Email], [t0].[Id] AS [ID], [t0].[Password]
> FROM [rss].[user] AS [t0]
> -- Context: SqlProvider(Sql2008) Model: AttributedMetaModel Build:
> 3.5.30729.4926
> As you can see, the provider seems to be MSSql instead of MySql

http://code.google.com/p/dblinq2007/wiki/Installation#To_use_DbLinq

You need to follow solution (1) or (2), depending on what MySql allows
you to get away with.

> When I try to instantiate the context class using a connection string, it
> also tries to connect to a MsSql server and thus times out.

That sounds odd.  What connection string are you using?

 - Jon




More information about the Mono-list mailing list