DataRule Class
A rule that the incoming data wil have to follow
Namespace: Ensur.Core.Main.POCOs.FormsAssembly: Ensur.Core.Main (in Ensur.Core.Main.dll) Version: 1.0.0.0 (1.0.0.0)
Ensur.Core.Main.POCOs.Forms.DataRule = function();
Type.createClass(
'Ensur.Core.Main.POCOs.Forms.DataRule');
- Inheritance
- Object DataRule
I'm putting all the actual test functions for the data rules in this object as static functions. If (for some reason) a customer wants to add their own data rules, we shoudl:
1) Separate the data rules into their own objects with a basic datarule interface
2) Load all the data rule objects into a cached dictionary using reflection
3) Use plugins to load any other data rules.
| Description |
A text description of the data limitation
|
| RuleType |
The type of data rule
|
| Value |
The text or numeric value of the limitation
|