TypedLists are ToolBoxItems, why not Entities?

Posts   
 
    
ianvink
User
Posts: 394
Joined: 15-Dec-2006
# Posted on: 29-Dec-2006 01:56:23   

When I create TypedLists, they appear in my tool box for binding as they are marked:

    [Serializable, System.ComponentModel.DesignerCategory("Code")]
    [ToolboxItem(true)]
    [DesignTimeVisible(true)]

However, **Entites **are not marked as such. I can bind to them via the " Add Data Sources" menu in VS.NET

Is there a way to make them appear in the Toolbox?

Ian

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 29-Dec-2006 03:05:27   

Are you using Adapter or SelfServicing?

bclubb
User
Posts: 934
Joined: 12-Feb-2004
# Posted on: 29-Dec-2006 03:05:57   

And vs 2005 or vs 2003?

ianvink
User
Posts: 394
Joined: 15-Dec-2006
# Posted on: 29-Dec-2006 03:07:48   

Oops.

SelfServing, newest versions of everything, VS.NET 2005, C#

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 29-Dec-2006 09:01:45   
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39927
Joined: 17-Aug-2003
# Posted on: 29-Dec-2006 10:30:19   

Entities dont implement IComponent, so they're not added to the toolbox because of that. IComponent isn't necessary for entities, so it's not implemented for that reason.

Frans Bouma | Lead developer LLBLGen Pro