In-memory validation

Posts   
 
    
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 23-Jul-2005 22:23:41   

Hi Frans.

I sometimes use entity.Validate() to validate an entity without performing a save. However, it appears that entity.Validate() does not validate recursively. Is there an easy way to test all related entities for validity without savng?

Thanks.

Jeff

Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 23-Jul-2005 22:30:02   

ok... I may have found it. If transversing the graph is the answer (see: http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=1589), then you don't need to respond to this thread.

Jeff

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 23-Jul-2005 22:45:55   

It does not validate recursively so you have to traverse the graph simple_smile

Frans Bouma | Lead developer LLBLGen Pro