Adding "Component" to Entity and Collection Classes

Posts   
 
    
jeffkararo
User
Posts: 76
Joined: 06-Jan-2004
# Posted on: 02-May-2005 21:43:11   

I was wondering if there was any thought to making the EntityBase and EntityCollectionBase inherit from Component so that they can be added to the UI Toolbox. The idea that they could be "visually" databound to controls.

Thanks, Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39750
Joined: 17-Aug-2003
# Posted on: 02-May-2005 22:16:49   

Entitycollections implement IComponent, which is the same thing. You can add entity collections to the toolbox simple_smile

Entities themselves don't implement IComponent. They;re not inherited from Component because that's a marshallbyref object, and entities are marshalled by value.

Frans Bouma | Lead developer LLBLGen Pro