[+/-]
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 Visual Studio versions 2005, 2008, and 2010. However, only MySQL Connector/Net version 6.3 fully integrates with Visual Studio 2010, although applications using earlier versions of the connector can be built with the Visual Studio 2010 environment using .NET 2.x frameworks.
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 need to be
shipped 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 has been included that enables
connections to servers to execute SQL. This is activated by
creating a new file with a .mysql
extension. A new template is also included to allow creation of
this file type using the Visual Studio 2010 main menu item
File, New. Note that the
MySQL SQL Editor is also available in 2005 and 2008.

User Comments
Add your own comment.