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

Validation with Priority help

$
0
0

I have a rule written as such:

BusinessRules.AddRule(Of BusObj)(_statusProperty, Function(obj As BusObj) obj.Status = "some test value", "Error Message", RuleSeverity.Error)

I am not having success adding the "With { .Priority = 1 }" to this.  Where does this go?  I can use this with other definitions, but can't find any references for the above version.

 

Thanks


Viewing all articles
Browse latest Browse all 764

Trending Articles