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=5.0.5.0, 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.
Frye? Anyone?
Turns out this is pretty much the same issue as was answered here:
Copyright (c) Marimer LLC