If you write: #isEqual<A, 3, sql {...}>, you will not get correct SQL expected, this is because following code:
Using double.Equals(int) to compare double and int, this will always returns false (as in reference source):
https://referencesource.microsoft.com/#mscorlib/system/double.cs,148
We can do workaround by using decimal typed property instead of int property:
decimal A int A
If you write:
#isEqual<A, 3, sql {...}>, you will not get correct SQL expected, this is because following code:sdmap/sdmap/src/sdmap/Macros/Implements/RuntimeMacros.cs
Line 201 in 4b69a10
Using double.Equals(int) to compare double and int, this will always returns false (as in reference source):
https://referencesource.microsoft.com/#mscorlib/system/double.cs,148
We can do workaround by using decimal typed property instead of int property:
decimal Aint A