I am using the C# client for Breeze 0.6 in a Xamarin.Forms 2.0 app on iOS 9.3. When I do a query with an WHERE clause, the app will work in the iPhone simulator, but fails on the actual device. The failure on the device is an exception with the message:
The type initializer for 'System.Data.Services.Client.TypeSystem' threw an exception.
If I remove the where clause, the app no longer throws an exception, but I need to be able to use WHERE clauses to properly limit the amount of data being sent back from the server.
What is it that causes this error?