Flagging Deletes with BIT field - How to add a "default" Predicate Filter to Entity?

Posts   
 
    
mshe
User
Posts: 167
Joined: 02-Feb-2006
# Posted on: 21-Jun-2007 21:41:29   

Hi all,

In some of my entities, I'm using a virtual delete (bit field). In a self-servicing project, where is the best place to filter out deleted entities?

Basically:

MyCollection as new MyEntityCollection <-- should not retrieve any "deleted" entities

MyEntity.MyCollection <-- should not retrieve any deleted entities

Any place where I can add a base predicate filter to my entities?

Thanks!

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 22-Jun-2007 10:15:54   

The same question have been answered here: http://www.llblgen.com/TinyForum/Messages.aspx?ThreadID=9347