LoadProperty question

LoadProperty question

Old forum URL: forums.lhotka.net/forums/t/6587.aspx


nj609eagle posted on Tuesday, March 10, 2009

It states that LoadProperty will set teh property value without checking authorization or triggering business or validation rules or data binding behaviors.

Is the property changed even included in this list?  If so, Is there a way to set a property's value while only by-passing the authorization rules?

RockfordLhotka replied on Tuesday, March 10, 2009

PropertyChanged is part of data binding, and so is not raised by LoadProperty().

CSLA doesn't have a way to only bypass authz, no. You'll have to create your own property-setting scheme to handle that.

Copyright (c) Marimer LLC