Hello
I'm upgrading some big Csla projects from 3.8 to 4.5. I'm also testing the new MobileProxy portal for 3-layer deployment.
I've found that those projects use the SingleCriteria as the fetch parameter, where the parameter is another BusinessObject as a Filter, something like: SingleCriteria<CustomerList, CustomerFilter>
When using this SingleCriteria parameter with a MobileProxy dataportal it fails with a "Serialization of type object is not supported" (it works OK with LocalPortal). I though it failed because the value property of SingleCriteria is not a managed property, however it still fails after changing to a managed property.
I know SingleCriteria is deprecated and that I can pass the CustomerFilter directly without the SingleCriteria, but I'd like to ask if I anyone know how can I modify this class temporaly so it works ok with serialization so I don't have to change the code when migrating to 4.5
Thank you
Jacobo
Hi,
Do you have a small sample project to demonstrate the issue?
I have the exact same problem.
I cant use SingleCriteria because the value does not seem to serialize correctly: "Serialization of type object is not supported"
Passing the Value to the DataPortal_Fetch of the SingleCriteira works fine, but I DO want to use the SingleCriteria here instead the mobile object itself as a parameter.
Blue
Copyright (c) Marimer LLC