We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 003f29e commit bddb412Copy full SHA for bddb412
net/DevExtreme.AspNet.Data.Tests.Common/SqlServerTestDbHelper.cs
@@ -1,9 +1,6 @@
1
-using System;
2
-using System.Collections.Generic;
3
-using System.Data.SqlClient;
+using System.Data.SqlClient;
4
using System.IO;
5
using System.Reflection;
6
-using System.Text;
7
8
namespace DevExtreme.AspNet.Data.Tests {
9
@@ -32,10 +29,12 @@ public void ResetDatabase() {
32
29
conn.Open();
33
30
34
31
void Exec(string sql) {
+#pragma warning disable DX0024 // this is assembly with tests
35
using(var cmd = conn.CreateCommand()) {
36
cmd.CommandText = sql;
37
cmd.ExecuteNonQuery();
38
}
+#pragma warning restore DX0024 // this is assembly with tests
39
40
41
try {
0 commit comments