EF connects to MySQL using the Dbfirst method

Source: Internet
Author: User
Tags mysql for visual studio

1. Install MySQL connector net 6.9.9 https://dev.mysql.com/downloads/file/?id=463758 and MySQL for Visual Studio 1.2.6 Https://de v.mysql.com/downloads/windows/visualstudio/, when using MySQL as a data source in the EF framework, you need to install the Mysql-for-visualstudio tool driver, Otherwise, there is no option to select MySQL as the data source in the build entity model.

2.nuget installation Install-package mysql.data.entity-version 6.9.9 (version number 6.9.9 and MYSQL connector Net 6.9.9 Version number consistent)

3. Add the ADO Entity Data Model

EF connects to MySQL using the Dbfirst method

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.