Why does IDbCommand.Connection require a DbConnection & not accept an IDbConnection RRS feed

All replies

  • Hi DavidThi808,
    I viewed your description.If you want to implement IDbCommand interface, please refer to this link.
    Best Regards,
    Daniel Zhang

    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    Thursday, January 23, 2020 9:53 AM
  • Hi Daniel;

    Thank you for your reply. But I don't understand - what in it explains why IDbCommand.Connection requires a DbConnection. Am I missing something?

    thanks - dave

    What we did for the last 6 months - Made the world's coolest reporting & docgen system even more amazing

    Thursday, January 23, 2020 11:34 AM