locked
Convert SDK enum ConditionOperator to valid FetchXML condition operator RRS feed

  • Question

  • There is an enum in the SDK:

    Microsoft.Xrm.Sdk.Query.ConditionOperator

    This contains all available operators for a ConditionExpression.

    I would like to use this to generate FetchXML, but the enum names are not valid fetchxml condition operators.

    E.g. ConditionOperator.Equal should in fetchxml be "eq".

    Is there any method in the SDK to convert between the two sets of operators?

    No, I do not want to use the QueryExpressionToFetchXmlRequest request, I do not have a QueryExpression, I am just trying to make use of the ConditionOperator enum when building my FetchXML :)


    Jonas Rapp http://jonasrapp.cinteros.se/

    Thursday, November 20, 2014 10:33 AM

Answers

All replies