|
Posted
almost 15 years
ago
by
[email protected]
(Sid Price)
Thank you, however when I try to copy Mysql.data from the c:\windows\assembly folder I cannot. I try to right-drag and drop and nothing happens, the cursor does not change and the file is not copied. Sid. Avian Ambassadors - Flights of Education [link] The Bird Training Blog Behavior and Training Seminars
|
|
Posted
almost 15 years
ago
by
[email protected]
(Jonathan Pryor)
As per the exception message, it can't find the MySqlConnection type, because you haven't fully installed it. Specifically, you need to let dbmetal know about it; see: [link] Specifically, you need to either copy the MySql.Data.dll assembly into
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sid Price)
Thank you. I did a repair of the connector, Mysql.data.dll is in c:\windows\assembly, but DbMagic still produces the same result. Also, I am able to open a connection to my database in a test program in VS2008: Dim strConn As String = "server=192.168.0.7;User Id=sid;pwd=xxxxx;database=mysq l;Persist Security Info=True"
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sadık Eser)
reinstall mysql .net connector and ensure that, Mysql.Data.dll exists in c:\windows\assembly folder or the same folder with dbmetal.exe 2011/1/10 Sid Price <[email protected] >
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sid Price)
Thank you for your reply. Here is my attempt to run DbMetal. You will see it fails I would appreciate any help/pointers. C:\Data_Root\Temp\DbLinq-0.20. 1>dbmetal.exe --provider=Mysql --server=192.168.0.7 --database=in_out --user=sid --password=xxxxxx --code=files\dblinq_mysql.vb DbLinq Database mapping generator 2008 version 0.20
|
|
Posted
almost 15 years
ago
by
[email protected]
(MavhirNetivim)
Hello, I worked with Dblinq on a few projects, with Oracle DB. For some reason sometimes the classes created by DbMetal contain the tables of Database schema and sometimes, they just contain the DB itself without any tables. When it does contain the table, I can run a query using the table
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sadık Eser)
In dblinq queries, using datetime.now or similar parameters some times couses error. if you use DateTime d = DateTime.Now; var ids = from i in ctx.Markets where i.DateScheduled > d select i.MarketId; it will works. Best regards Sadık Eser 2011/1/9 Magnus Olsson <[email protected]>
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sadık Eser)
Download dblinq binaries and copy "Mysql.Data.dll" in the same forder with "DbMetal.exe" using command line execute DbMetal.exe with the following parameteters, with making necessary replaces. DbMetal.exe --provider=Mysql --server=[your server address] --database=[your database name] --user=[mysql user name] --password=[mysql password]
|
|
Posted
almost 15 years
ago
by
[email protected]
(Sid Price)
Hello, I am working on a project that needs to work with either a desktop DB (SQL Express 2008) or a remote DB (MySQL). I have downloaded and installed the MySQL connector and I am able to connect to a test MySQL DB. I plan on using LINQ for
|
|
Posted
almost 15 years
ago
by
[email protected]
(Magnus Olsson)
Hello, I am new to DBlinq and I have a problem and I don't know if it is because I'm doing something wrong, if it is because a bug or "not implemented" :) I am using MySql. The problem is when I try to use dates in my query. The code: var ids = from i in ctx.Markets where i.DateScheduled > DateTime.Now
|