Show / Hide Table of Contents

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 Source

Action

Client-side requested action

Declaration
public string Action { get; set; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Db

Database connection instance

Declaration
public Database Db { get; set; }
Property Value
Type Description
Database
| Improve this Doc View Source

Editor

Host Editor

Declaration
public Editor Editor { get; set; }
Property Value
Type Description
Editor
| Improve this Doc View Source

Field

Host field

Declaration
public Field Field { get; set; }
Property Value
Type Description
Field
| Improve this Doc View Source

Id

Row Id being edited (for "edit" action)

Declaration
public string Id { get; set; }
Property Value
Type Description
System.String
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX