DataAnnotationTestBase<TTestStore, TFixture>.MaxLengthAnnotationClass DataAnnotationTestBase(Of TTestStore, TFixture).MaxLengthAnnotationClass Class

Definition

protected class MaxLengthAnnotationClass
Protected Class MaxLengthAnnotationClass
Inheritance
System.ObjectSystem.Object
DataAnnotationTestBase<TTestStore, TFixture>.MaxLengthAnnotationClassDataAnnotationTestBase(Of TTestStore, TFixture).MaxLengthAnnotationClass

Properties

Id Id

public int Id { get; set; }
Public Property Id As Integer
Value
System.Int32 System.Int32

PersonFirstName PersonFirstName

[StringLength(500)]
[MaxLength]
public string PersonFirstName { get; set; }
<StringLength(500)>
<MaxLength>
Public Property PersonFirstName As String
Value
System.String System.String

PersonLastName PersonLastName

[MaxLength]
[StringLength(500)]
public string PersonLastName { get; set; }
<MaxLength>
<StringLength(500)>
Public Property PersonLastName As String
Value
System.String System.String

Methods

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

GetHashCode() GetHashCode()

Inherited from System.Object

GetType() GetType()

Inherited from System.Object

MemberwiseClone() MemberwiseClone()

Inherited from System.Object

ReferenceEquals(Object, Object) ReferenceEquals(Object, Object)

Inherited from System.Object

ToString() ToString()

Inherited from System.Object