Skip to main content

ValidationRule

Data persistence Model

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public class ValidationRule : ValidateRule, IValidateRule

Properties

Id

View Source
Declaration
public int Id { get; set; }

Type

The name of the Type

View Source
Declaration
public string Type { get; set; }

Field

The property field for Property Validators, null for Type Validators

View Source
Declaration
public string Field { get; set; }

CreatedBy

View Source
Declaration
public string CreatedBy { get; set; }

CreatedDate

View Source
Declaration
public DateTime? CreatedDate { get; set; }

ModifiedBy

View Source
Declaration
public string ModifiedBy { get; set; }

ModifiedDate

View Source
Declaration
public DateTime? ModifiedDate { get; set; }

SuspendedBy

View Source
Declaration
public string SuspendedBy { get; set; }

SuspendedDate

View Source
Declaration
[Index]
public DateTime? SuspendedDate { get; set; }

Notes

View Source
Declaration
public string Notes { get; set; }

Inherited Properties

Condition

View Source
Declaration
public string Condition { get; set; }

ErrorCode

View Source
Declaration
public string ErrorCode { get; set; }

Message

View Source
Declaration
public string Message { get; set; }

Validator

View Source
Declaration
public string Validator { get; set; }

Methods

Equals(ValidationRule)

View Source
Declaration
protected bool Equals(ValidationRule other)
Returns

System.Boolean

Parameters
TypeName
ServiceStack.ValidationRuleother

Equals(Object)

View Source
Declaration
public override bool Equals(object obj)
Returns

System.Boolean

Parameters
TypeName
System.Objectobj

GetHashCode()

View Source
Declaration
public override int GetHashCode()
Returns

System.Int32

Implements