I've created a ListManager who's delegate always returns true when an entity being managed by the ListManager changes or is added. I would also like the delegate to catch any deletions of the managed entity type. Do I have to do something different to be able to detect the deletions?
Here is my code snippet:
........................................................
mEntityList = pManager.PersistenceManager.GetEntities<Property_Entity>(pQuery);
Predicate<Property_Entity> predicate =
delegate(Property_Entity pType)
{
return true;
};
mEntityList.ListManager = new EntityListManager<Property_Entity>(pManager.PersistenceManager,
predicate,
new EntityColumn[] { Property_Entity.PropertyidEntityColumn, Property_Entity.PresentvalueEntityColumn, Property_Entity.LiquidEntityColumn });
.............................................