Probléme d'utilisation de DbLinq

marroucha Messages postés 6 Date d'inscription mercredi 7 juillet 2010 Statut Membre Dernière intervention 19 mars 2012 - 29 juin 2011 à 10:55
nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 - 29 juin 2011 à 22:49
Bonjour à tous,
Je rencontre un probléme lors de l'installation de DBLinq sous Visual
Studio 2010 Je suis panté dans l'invite de commande :en tapant
DbMetal.exe -s:localhost -p:root -u;root -d:essai -provider=MySQL -
language=c#


j'obtiens ce message

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.
et en mettant
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


J'obtient

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\DbLinq-0.20.1\MySQL.Data'.
Personne n'a une idée pour résoudre ceci je serais reconnaissante
Merci

2 réponses

marroucha Messages postés 6 Date d'inscription mercredi 7 juillet 2010 Statut Membre Dernière intervention 19 mars 2012
29 juin 2011 à 12:07
Pas de proposition?
0
nhervagault Messages postés 6063 Date d'inscription dimanche 13 avril 2003 Statut Membre Dernière intervention 15 juillet 2011 37
29 juin 2011 à 22:49
Salut,

Regardes ici

La ligne de geeeration est de type

DbMetal.exe -provider=MySql -database:your_db -server:your_server -user:root -password:your_pass -namespace:namespace -code:filename.cs -sprocs


Utilises la dernière version aussi.
http://code.google.com/p/dblinq2007/
0
Rejoignez-nous