Validation rules as a list of objects


Author
Message
George Nentidis
George Nentidis
StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)StrataFrame Novice (118 reputation)
Group: Forum Members
Posts: 72, Visits: 251
It would be nice for validation rules to be a list of object that we can add in the BO's constructor or in virtual method we override. Then instead of calling custom code in the CheckRulesOnCurrentRow, the BO could have those rules available wherever it needs them. It would also help us build a small library of such validation rules that can be used in many different cases.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search