简体   繁体   中英

WCF Web Services with MySQL, Error in Reading SQL Data?

I Followed this To Create A WCF Restful Web Services , which will Display Database As Json So that I can Use this Json in the Part of Android and iOS.

But For the Little Bit Change Instead of SQL Server I want to Use MySQL .

So I am on process with the Data and Here I added a Link to SQL Item and Generated a File Database1.dbml
Here In server Explorer I can Able to see all my tables of a Database But When I Drag and Drop the table I am Getting this error..

"The selected object(s) use unsupported data provider."

How can I use MySQL data to Create a Restful web service and Display JSON as Output, in .net WCF, I also Tried with MVC from Here
But here also Same Problem Reading Database or adding Database.

Any Suggestions please.

I got your doubt. So here you can get the correct answer to get the data from MYSQL to our project, follow the link below:

http://www.devart.com/dotconnect/mysql/articles/tutorial_linq.html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM