I think the biggest problem is the generic entity you are trying to use which doesn't match the entity return type. Try this:
public mmBindingList<MyJokesEntity> GetMyWinDings(string type)
{
return this.GetEntityList<MyJokesEntity>("GetMyWinddingsByType",
this.CreateParameter("@type", type));
}
Assuming that MyJokesEntity is a defined Entity in your business objects library.
Tim
>I was actually trying to follow the steps in Data Binding WPF Controls, and it was on #11 that I don't know where to go..
>
>I tried something like this (and variations on it) based on I think your suggestion in another thread on shapes..
>
>public mmBindingList<MyJokesEntity> GetMyWinDings(string type)
> {
> return this.GetEntityList<MyWindDings>("GetMyWindingsByType",
> this.CreateParameter("@type",type));
> }
>
>but the compiler doesn't recognize mmBindingList .. though other mm classes appear in the dropdown.
>the error message is : Error 1 The type or namespace name 'mmBindingList' could not be found (are you missing a using directive or an assembly reference?)
>
>Is the mmBindingList not an appropriate type for WPF forms?
>
>In addition to the namespace of the business object , and the system name spaces, I have the following namespaces
>
>using OakLeaf.MM.Main;
>using OakLeaf.MM.Main.WPF;
>
>using Microsoft.Windows.Controls;
>
>
>Ilmar
Timothy Bryan