Skip to content

Why only QueryAsync method have mulit mapping method overload with CommandDefinition #743

Open
@huobazi

Description

The QueryAsync method have mulit mapping method overload with CommandDefinition

public static Task<IEnumerable<TReturn>> QueryAsync<TFirst,..., TReturn>(this IDbConnection cnn, CommandDefinition command, Func<TFirst,...TReturn> map, string splitOn = "Id");

But the Query method has no CommandDefinition method overload. what is the purpose for this design ?

image

dapper version = 1.50.2

<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Dapper" version="1.50.2" targetFramework="net461" />
</packages>

Metadata

Assignees

No one assigned

    Labels

    area:apiAPI Additions or Changes

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions