Reporter | resharper_user1 (resharper_user1) |
---|---|
Created | May 6, 2011 1:04:03 PM |
Updated | Oct 8, 2018 12:03:00 PM |
Subsystem | Quick Fixes |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Open |
Type | Bug |
Fix version | Backlog |
Affected versions | 2018.3 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Try to remove "sqlghi"...
Public Overrides Function GenerateSQLClause(ByVal abc As String, ByVal def As String, ByVal ghi As String, ByVal jkl As String) As String
Dim sqlabc As String = ""
Dim sqlghi As String = ""
Dim sqljkl As String = ""
If abc.Length > 0 Then sqlabc = " AND ABC='" & abc & "' "
If ghi.Length > 0 Then sqlghi = " AND GHI IN(" & ghi & ") "
If Not String.IsNullOrEmpty(jkl) Then sqljkl = " AND JKL IN (" & jkl & ") " '
Return sqlabc
End Function
Public Overrides Function GenerateSQLClause(ByVal abc As String, ByVal def As String, ByVal ghi As String, ByVal jkl As String) As String
Dim sqlabc As String = ""
Dim sqlghi As String = ""
Dim sqljkl As String = ""
If abc.Length > 0 Then sqlabc = " AND ABC='" & abc & "' "
If ghi.Length > 0 Then sqlghi = " AND GHI IN(" & ghi & ") "
If Not String.IsNullOrEmpty(jkl) Then sqljkl = " AND JKL IN (" & jkl & ") " '
Return sqlabc
End Function