DbLinq for MySql

55 views
Skip to first unread message

Shriti Thakur

unread,
Mar 16, 2011, 5:19:39 AM3/16/11
to DbLinq
Hi,

I have a dot net application in 3.5 framework. It was using LINQ to
SQL, now I am using DbLinq to connect it to MYSQL database.
Steps I performed are
1. I have downloaded DbLinq-0.20.1
2. Run the DbMetal
3. Added the cs class generated after running the DbMetal.
4. Added references.
5. Changed the datacontext by deleting the constructor in newly
generated cs file.

When LINQ to SQL was used in the application, it had generated a model
with designer.cs file ( this was having all the table names and
connected to the database )

My question is how to create a class similar to designer.cs, so that
it will connect to the database with all the table names in it.

Any help will be appreciated.
Many thanks
Reply all
Reply to author
Forward
0 new messages