vendredi 15 juillet 2016

Why is there no interface for SqlDataReader.ReadAsync()

While SqlDataReader.Read() implements the IDataReader.Read(), there appears to no interface for SqlDataReader when using the async methods like ReadAsync().

Firstly, correct me if I'm wrong.

Is there a reason or justification for this? Is there something about the new async-await stuff that justifies lacking an interface here? It's just a bit baffling.

Aucun commentaire:

Enregistrer un commentaire