Bug #101384 Using ToTable(tableName, schemaName) duplicates schemaName on query
Submitted: 29 Oct 2020 21:01 Modified: 30 Oct 2020 7:29
Reporter: Carlos Ayala Email Updates:
Status: Duplicate Impact on me:
None 
Category:Connector / NET Severity:S3 (Non-critical)
Version:8.0.22 OS:Any
Assigned to: CPU Architecture:Any

[29 Oct 2020 21:01] Carlos Ayala
Description:
After updating to MySQL Connector .NET 8.0.22 (Previous version was 8.0.21) An exception is thrown when using ToTable(tableName, schemaName) method overload on this EntityFramework classes:

- EntityTypeConfiguration.ToTable(tableName, schemaName)
- ManyToManyAssociationMappingConfiguration.ToTable(tableName, schemaName)

Exception raised is:

- Table 'schemaName.schemaName.tableName' doesn´t exist.

Using the ToTable(tableName) overload works correctly.

How to repeat:
Install MySQL Connector.NET 8.0.22 and map any table with EntityTypeConfiguration.ToTable(tableName, schemaName) and the exception will be thrown.
[29 Oct 2020 21:05] Carlos Ayala
BTW, I'm using EF 6.4.4
[30 Oct 2020 7:29] MySQL Verification Team
Hello Carlos Ayala,

Thank you for the bug report.
Imho this is duplicate of Bug #101236, please see Bug #101236.

Regards,
Ashwini Patil