修正 拼装 sql错误: for update limit x为 limit x for update #150
This run and associated checks have been archived and are scheduled for deletion.
Learn more about checks retention
Annotations
1 error and 20 warnings
test
Process completed with exit code 1.
|
test:
Test/Program.cs#L67
'Setting' is obsolete: '=>XCodeSetting'
|
test:
Test/Program.cs#L107
The variable 'aaa' is assigned but its value is never used
|
test:
Test/Program.cs#L201
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
Test/Program.cs#L263
The variable 'f' is assigned but its value is never used
|
test:
Test/Program.cs#L264
The variable 'f2' is assigned but its value is never used
|
test:
XUnitTest.XCode/Configuration/SqlTemplateTests.cs#L176
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L129
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L172
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L134
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/SQLiteTests.cs#L167
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
Test/Program.cs#L107
The variable 'aaa' is assigned but its value is never used
|
test:
Test/Program.cs#L201
This async method lacks 'await' operators and will run synchronously. Consider using the 'await' operator to await non-blocking API calls, or 'await Task.Run(...)' to do CPU-bound work on a background thread.
|
test:
Test/Program.cs#L263
The variable 'f' is assigned but its value is never used
|
test:
Test/Program.cs#L264
The variable 'f2' is assigned but its value is never used
|
test:
XUnitTest.XCode/Configuration/SqlTemplateTests.cs#L176
Do not use Assert.Equal() to check for collection size. Use Assert.Empty instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/DB2Tests.cs#L115
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/DaMengTests.cs#L117
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/SqlServerTests.cs#L129
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/MySqlTests.cs#L137
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|
test:
XUnitTest.XCode/DataAccessLayer/OracleTests.cs#L108
Do not use Assert.Equal() to check for collection size. Use Assert.Single instead. (https://xunit.net/xunit.analyzers/rules/xUnit2013)
|