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

Definition

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

Properties

Id Id

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

PersonFirstName PersonFirstName

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

PersonLastName PersonLastName

[MaxLength(30)]
[StringLength(500)]
public string PersonLastName { get; set; }
<MaxLength(30)>
<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