Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business object for WPF data grid
Message
From
16/07/2009 10:51:19
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01412628
Message ID:
01412712
Views:
47
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform