You shoul go there. There is a sample very easy for you to know how to
generate code from database mysql
http://yosanai.com/linq-mysql/sample-console-application-using-dblinq

On Jun 28, 9:23 am, maroua <[email protected]> wrote:
> Hello!
> I'm trying to install DbMetal for mapping my MySQL database but I'm
> blocked since several hours trying to follow the instructions in many
> tutorials
> In fact when i enter
> DbMetal.exe -s:localhost -p:root -u;root -d:essai -provider=MySQL -
> language=c#
> this message appear:
> DbLinq Database mapping generator 2008 version 0.20
> for Microsoft (R) .NET Framework version 3.5
> Distributed under the MIT licence (http://linq.to/db/license)
>
> DbMetal: Could not load databaseConnectionType type
> 'MySql.Data.MySqlClient.MySq
> lConnection, MySql.Data'.  Try using the --with-dbconnection=TYPE
> option.
> and when i enter
> C:\Documents and Settings\stage\Desktop\MySQL
> \DbLinq-0.20.1>DBMetal.exe -u:root
> -p:root -s:localhost -d:essai -provider=MySQL -language=c# -with-
> dbconnection=My
> SQL.Data.MySQLClient.MySQLConnection, MySQL.Data
> this one appear
> C:\Documents and Settings\stage\Desktop\MySQL
> \DbLinq-0.20.1>DBMetal.exe -u:root
> -p:root -s:localhost -d:essai -provider=MySQL -language=c# -with-
> dbconnection=My
> SQL.Data.MySQLClient.MySQLConnection, MySQL.Data
> DbLinq Database mapping generator 2008 version 0.20
> for Microsoft (R) .NET Framework version 3.5
> Distributed under the MIT licence (http://linq.to/db/license)
>
> >>> Reading schema from DBML file 'MySQL.Data'
>
> DbMetal: Could not find file 'C:\Documents and Settings\stage\Desktop
> \MySQL\DbLi
> nq-0.20.1\MySQL.Data'.
> Please help me :(
> Thank you

-- 
You received this message because you are subscribed to the Google Groups 
"DbLinq" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/dblinq?hl=en.

Reply via email to