Skip to content

Commit c5bdd60

Browse files
committed
Document missing MySqlDataAdapter Async methods.
1 parent 78636fe commit c5bdd60

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/content/tutorials/migrating-from-connector-net.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,13 @@ property doesn’t reference the active transaction. This fixes <a href="https:/
103103
To disable this strict validation, set <code>IgnoreCommandTransaction=true</code>
104104
in the connection string. See [Transaction Usage](troubleshooting/transaction-usage/) for more details.
105105

106+
### MySqlDataAdapter
107+
108+
Connector/NET provides `MySqlDataAdapter.FillAsync`, `FillSchemaAsync`, and `UpdateAsync` methods, but these methods
109+
have a synchronous implementation. MySqlConnector only adds “Async” methods when they can be implemented asynchronously.
110+
This functionality depends on [dotnet/corefx#20658](https://github.com/dotnet/corefx/issues/20658) being implemented first.
111+
To migrate code, change it to call the synchronous methods instead.
112+
106113
### Exceptions
107114

108115
For consistency with other ADO.NET providers, MySqlConnector will throw `InvalidOperationException` (instead of `MySqlException`)

0 commit comments

Comments
 (0)