Home > Net >  3.1 about MySqlParameter.net core
3.1 about MySqlParameter.net core

Time:11-17

1. I use the Pomelo. EntityFrameworkCore. Mysql to generate entity, and think through MySqlParameter passing parameters to the stored procedure, then an error:
Type "MySqlParameter" also exist in "MySql Data, Version=6.10.9.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" and "MySqlConnector, Version=0.61.0.0, Culture=neutral, PublicKeyToken=d33d3e53aa5f8c92"
2. I have tried in MySql. Data. EntityFrameworkCore, but I created project is.net core of 3.1, with the latest mysqlef through command to generate and update the EF entity after
This road walk again impassability,
So trouble you great god help me take a look at how to solve the problem 1, thank you

CodePudding user response:

By the namespace. MySqlParameter try

CodePudding user response:

reference 1st floor is nu month god reply:
by namespace. MySqlParameter try
it's no use, I tried, I finally generated ef in another place

CodePudding user response:

Dll have conflict, the two Dll classes have the same namespace, Mysql. The Data or MySqlConnector removes a,
  • Related