XeroAPI/XeroAPI.Net — pull request #3 by MatthewSteeples (2011-10-28 11:31:41+00:00)
Title: ApiQueryTranslator can't deal with nullable Guids

Hi Dan,

I don't know whether this is the right fix for this, but the ItemID on Payments (PaymentID) is of type nullable Guid. This means that when using that to filter the ApiQueryTranslator fails.

This pull request modifies the ApiQueryTranslator so that it can accept nullable Guids, but a better solution (if this fits with the Api) may be to make PaymentID non-nullable. I've not been able to determine from the developer docs whether that would be acceptable.

Regards,
Matthew