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
n0e[CodePlex] Camlex fails when trying to parse a query like this:
ltWheregt
ltIngt
ltFieldRef Name=quotIDquot /gt
ltValuesgt
ltValue Type=quotCounterquotgt0lt/Valuegt
ltValue Type=quotCounterquotgt1lt/Valuegt
ltValue Type=quotCounterquotgt2lt/Valuegt
lt/Valuesgt
lt/Ingt
lt/Wheregt
Trying to use something similar in VS code gives compiler warnings:
Camlex.Query().Where(x =gt ids.Contains((DataTypes.Counter)x[quotIDquot])).ToString();
The text was updated successfully, but these errors were encountered:
sadomovalex[CodePlex] hi n0e,
thank you for reporting it, will address it when will have in one of the next releases. For a while you may use the following workaround:
var ids = new[] {0, 1, 2};
string s = Camlex.Query().Where(x = ids.Contains((int)x[ID])).ToString();
s = s.Replace(Integer, Counter);
n0e[CodePlex]
Camlex fails when trying to parse a query like this:
ltWheregt
ltIngt
ltFieldRef Name=quotIDquot /gt
ltValuesgt
ltValue Type=quotCounterquotgt0lt/Valuegt
ltValue Type=quotCounterquotgt1lt/Valuegt
ltValue Type=quotCounterquotgt2lt/Valuegt
lt/Valuesgt
lt/Ingt
lt/Wheregt
Trying to use something similar in VS code gives compiler warnings:
Camlex.Query().Where(x =gt ids.Contains((DataTypes.Counter)x[quotIDquot])).ToString();
The text was updated successfully, but these errors were encountered: