Asynch
rule is tied to a property and should only fire when this specific property is
changed, unless you setup dependant properties. BO raises an event based
on interface INotifyBusy when an synch rule is starting and when it is finishes.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: Fele
[mailto:cslanet@lhotka.net]
Sent: Monday, October 26, 2009 11:43 AM
To: Sergey Barskiy
Subject: [CSLA .NET] Csla Light Async Validation
I need to validate entered info again data in database;
Therefore, I set up async validation rule.
It works fine. However, its call server each time I make change in entry
control.. I would like to validate only on lost focus. Is it possible to set up
PropertyStatus to behave this way?
Also, I noticed that PropertyStatus change to BusyAnimation when async call is
executing. Is BO expose property which is indicating that async call taking
place?
Thanks
Fele
You
can look at Rolodex project. Even if the project does not build, you can
still look at the code for Company object.
Sergey Barskiy
Principal Consultant
office: 678.405.0687 |
mobile: 404.388.1899
Microsoft Worldwide Partner of the Year | Custom
Development Solutions, Technical Innovation
From: Fele
[mailto:cslanet@lhotka.net]
Sent: Monday, October 26, 2009 2:24 PM
To: Sergey Barskiy
Subject: Re: [CSLA .NET] RE: Csla Light Async Validation
Can you provide examples?
Thanks
Fele
Copyright (c) Marimer LLC