You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.
We have a Custom Entity , we are using fetch Xml to retreive the Record.
When trying to Unit test the method it says Specified Cast is Not Valid when using retreive multiple.
We did generate Early bound Classes as Well.
Not sure what was missing.
Here is the Code below.
_context.EnableProxyTypes(Assembly.GetExecutingAssembly());
var pluginContext = _context.GetDefaultPluginContext();
var fetchXml = @"<fetch version='1.0' output-format='xml-platform' mapping='logical' distinct='false'> <entity name='envVariable'> <attribute name='key' /> <attribute name='value' /> <order attribute='key' descending='false' /> <filter type='and'> <condition attribute='statecode' operator='eq' value='0' /> <condition attribute='key' operator='eq' value='Event' /> </filter> </entity> </fetch>";
It is throwing specified error on retreive multiple.
The text was updated successfully, but these errors were encountered: