Skip to content

[DAP025] False positive: SELECT INTO #79

@dotTrench

Description

@dotTrench

Describe the bug
When using SqlConnection and selecting data from one table into another using ExecuteAsync a false DAP025 warning is triggered.

Dapper.Advisor: 1.0.10

To Reproduce

// DAP025: The command has a query that will be ignored public static async Task SelectInto(SqlConnection connection) => await connection.ExecuteAsync("SELECT [Test] INTO #MyTemporaryTable FROM MyTable");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions