We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am using the Dapper overloads which accept a CommandDefinition because I want to pass CancellationToken, for example:
CommandDefinition
CancellationToken
var result = await conn.ExecuteScalarAsync<string>(new CommandDefinition("sp_CrunchNumbers", new { WarpFactor = 43 }, commandType: CommandType.StoredProcedure, cancellationToken: cancellationToken));
The analyzer doesn't seem to detect this usage and generate code.
If I change to the overload which takes multiple args then it does generate code, however this doesn't support CancellationToken.
var result = await conn.ExecuteScalarAsync<string>("sp_CrunchNumbers", new { WarpFactor = 43 }, commandType: CommandType.StoredProcedure);
The text was updated successfully, but these errors were encountered:
DeagleGross
No branches or pull requests
I am using the Dapper overloads which accept a
CommandDefinition
because I want to passCancellationToken
, for example:The analyzer doesn't seem to detect this usage and generate code.
If I change to the overload which takes multiple args then it does generate code, however this doesn't support
CancellationToken
.The text was updated successfully, but these errors were encountered: