Hướng dẫn what is mysql connectornet?
MySQL Connector/NET integrates support for Entity Framework 6 (EF6), which now includes support for cross-platform application deployment with the EF 6.4 version. This chapter describes how to configure and use the EF6 features that are implemented in Connector/NET. Show In this section:
Minimum Requirements for EF6 on Windows Only
Minimum Requirements for EF 6.4 with Cross-Platform Support
ConfigurationNote The MySQL Connector/NET 8.0 release series has a naming scheme for EF6 assemblies and NuGet packages that differs from the scheme used with previous release series, such as 6.9 and 6.10. To configure Connector/NET 6.9 or 6.10 for use with EF6, substitute the assembly and package names in this section with the following:
To configure Connector/NET support for EF6:
EF6 FeaturesFollowing are the new features in Entity Framework 6 implemented in Connector/NET:
Code First FeaturesFollowing are new Code First features supported by Connector/NET:
Example for Using EF6The following C# code example represents the structure of an Entity Framework 6 model.
The C# code example that follows shows how to use the entities from the previous model in an application that stores the data within a MySQL table. |