Skip to content

SqlCommand syntax doesn't match inheritance #11665

@breyed

Description

@breyed

Issue description

The .NET Core 2.2 docs for SqlCommand show this syntax and inheritance:

public sealed class SqlCommand : System.Data.Common.DbCommand, ICloneable, IDisposable

Inheritance Object -> MarshalByRefObject -> Component -> SqlCommand
Implements IDbCommand, ICloneable, IDisposable

They don't match. The syntax says that DbCommand is the base class, but the inheritance says that Component is the base class. Also, the implements line has an extra IDbCommand that's not in the syntax.

Target framework

Check the .NET target framework(s) being used, and include the version number(s).

  • .NET Core
  • .NET Framework - not checked
  • .NET Standard - not checked

Metadata

Metadata

Assignees

No one assigned

    Labels

    externalNot related to content

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions