Link to home
Start Free TrialLog in
Avatar of maatayim
maatayim

asked on

How To: Use LINQ to SQL / Entity Framwork mapper with MySQL in VS2008

Hi there,
i'm starting to work with MySql for the first time with Visual Studio 2008.
so I need some baby steps explanations because so far i've worked with MS SQL :-)

so this is what i've done so far:
i've installed MySQL Query Builder and MySQL Administrator.

so from what i've read in the web i downloaded MySQL Connector from here: http://dev.mysql.com/downloads/mirror.php?id=376646#mirrors

and got my MySQL Data Provider working in Visual Studio 2008:

i clicked Server Explorer --> Add Connection --> MySQL Server
I filled the details & added a new DB connection to the Server Explorer

now, i dont get the full functionality i used to have with MS-SQL
i'd like to know whats the most efficient way of working with MySQL with VS 2008
do you use Diagrams? maybe it's better to use an outside program?
how do you work with Entity Framework or Linq2Sql ?
is there any more tips that can help me as a beginner? maybe some links so i can read more stuff about it?

thanks ahead!
:-Dan
Avatar of tovvenki
tovvenki

Hi,
Linq2sql will work only with SQL Server if you want to use MySQL then you need to use some third party provider. One such is DBLinq
http://code2code.net/DB_Linq/

Thanks and regards,
venki
Avatar of maatayim

ASKER

hey there and thanks for the reply,
it's my second day on mysql and i'm getting there...
i've downloaded a newer MySQL Connector/Net from the MySQL WebSite here:http://www.mysql.com/downloads/connector/net/

so far from what i've seen Entity Framework works great

how about DB Diagrams? can i create table Diagrams in MySQL ?
any tips of how to work with MySQL will help

thanks!
:-Dan
Sorry I am not a MySQL guy (fully MS)
yes Entity framework is also a good option to go with MySQL.
anyone else?
ASKER CERTIFIED SOLUTION
Avatar of dimitriInfo
dimitriInfo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it's a good lead and i might use it after i'll explore it a lil bit
i was hoping to find out more about using Microsofts EF with mySql
good lead though!
thanks