Quantcast
Channel: CSLA .NET
Viewing all articles
Browse latest Browse all 764

CSLA Behaviour with new unchanged entities

$
0
0

Hi,

I was writing some unit tests for code developed within the team and accidentally discovered that creating a new entity and calling save does not actually cause the new entity to be saved but instead returns a still new entity.

I was told that this is the expected behaviour of CSLA, that CSLA only saves an entity once it is dirty and not just because it is new. Is this correct?

Nick


Viewing all articles
Browse latest Browse all 764

Trending Articles