Spec-Zone .ru
спецификации, руководства, описания, API
|
When MySQL Connector/Net is installed on Microsoft Windows, Visual Studio integration components are also installed and initialized. This enables the developer to work seamlessly with MySQL Connector/Net in the familiar Visual Studio environment, as described in the following sections of the manual.
MySQL Connector/Net supports full versions of Visual Studio 2008, 2010, and 2012, although the extent of support may be limited depending on your versions of MySQL Connector/Net and Visual Studio:
Visual Studio 2012 is supported by MySQL Connector/Net 6.6 and up.
Full integration with Visual Studio 2010 is available only with MySQL Connector/Net 6.3.2 and up, although applications using earlier versions of the connector can be built with the Visual Studio 2010 environment using .NET 2.x frameworks.
Visual Studio 2005 is supported only through MySQL Connector/Net 6.4.
MySQL Connector/Net does not currently support Express versions of Microsoft products, including Microsoft Visual Web Developer.
Visual Studio 2010 support was introduced with MySQL Connector/Net 6.3.2. From version 6.3.2 the connector ships
with both .NET 2.x and .NET 4.x versions of the entity framework support files, mysql.data.ef.dll
and mysql.visualstudio.dll
. The .NET 4.x versions are required to enable new
integration features supported in Visual Studio 2010, including:
New DDL T4 template for the Entity Framework (EF) - This enables developers to
design an EF model from scratch and use the native Visual Studio 2010 facility to generate MySQL DDL
from that model. This is done by creating the model, and with the model open, choosing the SSDLToMySQL
template in the properties window. The correct DDL is then generated. The developer can then save this
code as a .mysql
file in their project and execute it against the MySQL
server.
New SQL Editor - A new SQL editor lets you connect to a MySQL server to execute
SQL. This is activated by creating a new file with a .mysql
extension. A
new template lets you create files with this file type using the Visual Studio 2010 main menu item , . Note that the MySQL SQL Editor is
also available in Visual Studio 2005 and 2008.
As of Connector/Net 5.1.2, the Visual Studio Plugin is part of the main Connector/Net package. The Visual Studio
Plugin release notes can be found at