ANI WPF Design
- .NET Framework 4.6.1
- MySQL Server 5.7
- MySQL for Visual Studio 1.2.9
- MySQL Connector Net 6.9.12
[引入]
- MySQL Connector Net 6.9.12\Assemblies\v4.5\MySql.Data.dll
- MySQL Connector Net 6.9.12\Assemblies\v4.5\MySql.Data.Entity.EF6.dll
ANI > App.config
1 | <system.data> |
DB Config
- 位置:Data > DBModel.cs
1
Database.Connection.ConnectionString = string.Format(connectionString, "localhost", "userid", "pwd", "database");
DB set_mode
1 | SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY','')); |
本博客所有文章除特别声明外,均采用 CC BY-NC-SA 4.0 许可协议。转载请注明来自 Guang Xin!