Common: Apply distinct to sql placeholders

This commit is contained in:
Jonathan Jenne
2022-05-18 12:59:03 +02:00
parent 48830e3dd9
commit f0c27890a8
6 changed files with 50 additions and 41 deletions

View File

@@ -10,4 +10,12 @@
Public Overrides Function ToString() As String
Return $"{{#{Type}#{Value}}}"
End Function
Public Overrides Function GetHashCode() As Integer
Return (Value.GetHashCode & Type.GetHashCode).GetHashCode
End Function
Public Overrides Function Equals(obj As Object) As Boolean
Return Me.GetHashCode = DirectCast(obj, Pattern).GetHashCode
End Function
End Class