Add batch upsert support for SQL Server Memory DB #2
Annotations
10 errors
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L377
Async-iterator 'SqlServerMemory.BatchUpsertAsync(string, IEnumerable<MemoryRecord>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L201
Review if the query string passed to 'string SqlCommand.CommandText' in 'GetIndexesAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L130
Review if the query string passed to 'string SqlCommand.CommandText' in 'DeleteAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L174
Review if the query string passed to 'string SqlCommand.CommandText' in 'DeleteIndexAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L76
Review if the query string passed to 'string SqlCommand.CommandText' in 'CreateIndexAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L244
Review if the query string passed to 'string SqlCommand.CommandText' in 'GetListAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L304
Review if the query string passed to 'string SqlCommand.CommandText' in 'GetSimilarListAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L505
Review if the query string passed to 'string SqlCommand.CommandText' in 'CreateTablesIfNotExists', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L393
Review if the query string passed to 'string SqlCommand.CommandText' in 'BatchUpsertAsync', accepts any user input (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca2100)
|
Build solution:
extensions/SQLServer/SQLServer/SqlServerMemory.cs#L377
Async-iterator 'SqlServerMemory.BatchUpsertAsync(string, IEnumerable<MemoryRecord>, CancellationToken)' has one or more parameters of type 'CancellationToken' but none of them is decorated with the 'EnumeratorCancellation' attribute, so the cancellation token parameter from the generated 'IAsyncEnumerable<>.GetAsyncEnumerator' will be unconsumed
|
The logs for this run have expired and are no longer available.
Loading