Hello,
What is the best way of marking newly created object, with blank values, as InValid. Is calling ValidationRules.CheckRules() is the only way or do we have something like Object.MarkInvalid.
Thanks
You typically always call ValidationRules.CHeckRules in
DataPortal_Create or private constructor.
Sergey Barskiy
Senior Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: vijay
[mailto:cslanet@lhotka.net]
Sent: Wednesday, May 07, 2008 8:23 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Mark newly created object as InValid
Hello,
What is the best way of marking newly created object, with blank
values, as InValid. Is calling ValidationRules.CheckRules() is the only way or
do we have something like Object.MarkInvalid.
Thanks
OK, if that is the only way then it is fine.
Thanks for replies.
Copyright (c) Marimer LLC