DeleteEntitiesDirectly

Posts   
 
    
simon831
User
Posts: 152
Joined: 19-Jan-2006
# Posted on: 07-Aug-2007 16:07:35   

Is there a simple way to get the EntityName as a string so that I can use: adapter.DeleteEntitiesDirectly(BasketEntity.EntityName.toString(), bucket);

instead of hard-coding the entity name: adapter.DeleteEntitiesDirectly("BasketEntity", bucket);

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39910
Joined: 17-Aug-2003
# Posted on: 07-Aug-2007 18:13:48   

adapter.DeleteEntitiesDirectly(EntityType.BasketEntity.ToString(), bucket); simple_smile

Frans Bouma | Lead developer LLBLGen Pro