I have a MobileList<Int16> in my criteria class. I am passing a MobileList<Int16> to the Silverlight factory method and then populating a criteria class which is then passed to the Fetch method ( dp.BeginFetch(criteria); ). When I attempt to do this, I get the following error:
Type 'Csla.Core.MobileList`1[[System.Int16, mscorlib, Version=126.96.36.199, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' with data contract name 'ArrayOfshort:http://schemas.microsoft.com/2003/10/Serialization/Arrays' is not expected. Add any types not known statically to the list of known types - for example, by using the KnownTypeAttribute attribute or by adding them to the list of known types passed to DataContractSerializer.
Am I doing something incorrectly? What am I missing?
Thanks in advance for any help.
Turns out this is pretty much the same issue as was answered here:
Copyright (c) Marimer LLC