Class ValidationHost
When a field's value is validated, the validation method is given
information about the host environment (i.e. the host Editor and Field)
so it can perform database validation (for example the Unique
validation)
Inheritance
System.Object
ValidationHost
Namespace: DataTables.EditorUtil
Assembly: DataTables-Editor-Server.dll
Syntax
public class ValidationHost : object
Properties
| Improve this Doc View SourceAction
Client-side requested action
Declaration
public string Action { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Db
Database connection instance
Declaration
public Database Db { get; set; }
Property Value
Type | Description |
---|---|
Database |
Editor
Host Editor
Declaration
public Editor Editor { get; set; }
Property Value
Type | Description |
---|---|
Editor |
Field
Host field
Declaration
public Field Field { get; set; }
Property Value
Type | Description |
---|---|
Field |
Id
Row Id being edited (for "edit" action)
Declaration
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String |