This is a very simple and basic question.. normally we are using singlecriteria class for factory methods and dataportal methods.. in my case, there are multiple params involved
is it ok to define fetch like this
protected
void DataPortal_Fetch(SortedList<<string, int>> MyParams)
same way the the factory method like this
public static SrcDCReq GetSrcDCReq(SortedList<string, int> MyParams)
{ return DataPortal.Fetch<SrcDCReq>(MyParams);
}
Which version are you using? Do you use remote dataportal?
SingleCriteria is no longer required in Csla 4.2 (in fact should considered Obsolete).
The main concern would dbe in SL where all lists should inherit from Mobilelist in order to be serialized by the Mobileformatter.
When using BinaryFomatter or NetDataContractSerializer (NET 4) you can use this code so long as the input object is serializable.
i'm using 3.8.3 and not using remote dataportal..
my app is also winforms..
well say by JonnyBee, i read your answer.
Copyright (c) Marimer LLC