Title here
Summary here
This attribute defines a default or custom check that is applied to a property.
[AttributeUsage(AttributeTargets.Property, AllowMultiple = true)]
public sealed class ValidateColumn : Attribute public ValidateColumn() public ValidateColumn(ValueGenerationEvent valueGenerationEvent)| Type | Name | Description |
|---|---|---|
| ValueGenerationEvent | valueGenerationEvent |
public object Context { get; }| Type | Description |
|---|---|
| object |
public Predicate<object> CustomValidation { get; set; }| Type | Description |
|---|---|
| Predicate<object> |
public DateTimeStyles DateTimeStyles { get; set; }| Type | Description |
|---|---|
| DateTimeStyles |
public IFormatProvider FormatProvider { get; set; }| Type | Description |
|---|---|
| IFormatProvider |
public NumberStyles NumberStyles { get; set; }| Type | Description |
|---|---|
| NumberStyles |
public object Parameter1 { get; set; }| Type | Description |
|---|---|
| object |
public object Parameter2 { get; set; }| Type | Description |
|---|---|
| object |
Name of the property to wich the validation is applied.
public string PropertyName { get; set; }| Type | Description |
|---|---|
| string |
public ValidationMethod ValidationMethod { get; set; }| Type | Description |
|---|---|
| ValidationMethod |