Skip to content

Commit 20a73ed

Browse files
Mark MySqlDbType with DbProviderSpecificTypeProperty. Fixes #1557
1 parent 25be098 commit 20a73ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/MySqlConnector/MySqlParameter.cs

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
using System.Buffers.Text;
2+
using System.Data.Common;
23
using System.Diagnostics;
34
using System.Diagnostics.CodeAnalysis;
45
using System.Globalization;
@@ -72,6 +73,7 @@ public override DbType DbType
7273
}
7374
}
7475

76+
[DbProviderSpecificTypeProperty(true)]
7577
public MySqlDbType MySqlDbType
7678
{
7779
get => m_mySqlDbType;

0 commit comments

Comments
 (0)