M
M
Mr. Abdu Jan2014-08-04 17:19:51
MySQL
Mr. Abdu Jan, 2014-08-04 17:19:51

How to pull data from MySQL to LINQ c#?

hello everyone,
i have a code

List<SWLevel> SWLevels = new List<SWLevel> { 
new SWLevel("xy", 10, 3), 
.................................................
new SWLevel("yy", 2, 7)
};

instead of " new SWLevel("xy", 10, 3), " you need to display data from the muscle database.
To be honest, I'm new to LINQ. And in c# too it is possible to tell.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
gmlexx, 2014-08-04
@gmlexx

BLToolkit can turn linq expressions into sql queries for all sorts of different databases, including MySql

A
Alexey Buraikin, 2014-08-05
@bstdman

Read about ORM . For Sharp, the most used are Entity Framework and NHibernate+Fluent

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question