DataValidation class

namespace: Serenity.Services   assemblySerenity.Net.Services

public static class DataValidation

Public Members

name description
static ArgumentNull(…)
static ArgumentOutOfRange(…)
static AutoTrim(…)
static EnsureUniversalTime(…)
static EntityNotFoundError(…)
static EntityReadAccessError(…)
static EntityWriteAccessError(…)
static GetEntitySingular(…)
static InvalidDateRangeError(…)
static InvalidIdError(…) (2 methods)
static InvalidValueError(…) (2 methods)
static ParentRecordDeleted(…)
static ReadOnlyError(…)
static RecordNotActive(…)
static RelatedRecordExist(…)
static RequiredError(…) (2 methods)
static UnexpectedError(…)
static ValidateDateRange(…)
static ValidateEnum(…)
static ValidateEnum<T>(…) (2 methods)
static ValidateRequired(…) (2 methods)
static ValidateRequiredIfModified(…)

See Also