Closed sybaris closed 1 week ago
I can't reproduce this error. Can you share the code you use to set up the connection please?
Hi,
Here source code to reproduce.
Downgrade to 9.1.0 version, and you will see that there is no more error.
Regards Sybaris
I get the same error with 9.1.0 as well. The error is due to the metadata of the faked componenttype
attribute not having any options - SQL 4 CDS assumes that an EnumAttributeMetadata
will have its OptionSet
property populated. In this case FakeXrmEasy hasn't populated that property, so SQL 4 CDS can't work out how many different values it could have when it tries to estimate how selective the filter on the componenttype
field is.
To resolve this issue you would need to ensure the OptionSet
property on all EnumAttributeMetadata
s is set correctly.
Hi,
Upgrading from 9.1.0 to 9.3.0 nuget package, I have the following error :
And it was when I try in my C# code to execute the following query :
Regards Sybaris