In my pre csla 4 code I have
[RunLocal]
protected override void DataPortal_Create()
{
_userID = -1;
ValidationRules.CheckRules(); //cannot resolve ValidationRule compile error here
}
What is the syntax when porting to csla 4.0 ? thanks
Found it. BusinessRules.CheckRules();
BusinessRules.CheckRules(); // returns the names of affected properties
Copyright (c) Marimer LLC