Reporter | resharper_user1 (resharper_user1) |
---|---|
Created | May 6, 2011 1:04:03 PM |
Updated | Mar 27, 2012 5:03:10 PM |
Priority | Critical |
Type | Bug |
Fix versions | 7.0 |
State | Open |
Assignee | Alexey Kuptsov (alexey.kuptsov) |
Subsystem | No subsystem |
Affected versions | No Affected versions |
Fixed in build | No Fixed in build |
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