Xabatcha posted on Thursday, July 05, 2007
Hi all,
I have to use csla for 1.1. I downloaded last available version.
I have problem with ambiguousMatchException for my RO list.
#region Static Methods
public static MappingTemplateInfoList GetCollection() {
Criteria crit = new Criteria();
return (MappingTemplateInfoList)DataPortal.Fetch(crit); Goes down here }
#endregion
Not sure if it depends on this piece of code, as I found a note in this
post.
private void Fetch(SafeDataReader reader) {
locked = false;
while (reader.Read()) {
List.Add(MappingTemplateInfo.GetMappingTemplateInfo(reader)); }
locked = true;
}
Any help appriciate.Thanks. X.
RockfordLhotka replied on Monday, July 09, 2007
What does your DataPortal_Fetch() method look like? More importantly, do you have multiple DataPortal_Fetch() implementations?
In CSLA 1.x you can only override DataPortal_Fetch(), you can't overload it.