Skip to content

Async versions of QueryFirst/Single/FirstorDefault/SingleOrDefault with CommandDefinition are missing #484

@Tornhoof

Description

@Tornhoof

Hi,
currently there is:

static T QueryFirstOrDefault<T>(this IDbConnection cnn, CommandDefinition command)

but there is no

static Task<T> QueryFirstOrDefaultAsync<T>(this IDbConnection cnn, CommandDefinition command)

only the full version exists:

static Task<T> QueryFirstOrDefaultAsync<T>(this IDbConnection cnn, string sql, object param = null, IDbTransaction transaction = null, int? commandTimeout = null, CommandType? commandType = null)

Same applies to First/Single/SingleOrDefault

Please add the CommandDefinition versions of async First etc. methods too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    v3.0Changes awaiting the next breaking release

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions