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

Syntax

Declaration

protected class MaxLengthWithLengthAnnotationClassProtected Class MaxLengthWithLengthAnnotationClass

Inheritance Hierarchy

  • System.Object
    System.Object
  • DataAnnotationTestBase<TTestStore, TFixture>.MaxLengthWithLengthAnnotationClass
    DataAnnotationTestBase(Of TTestStore, TFixture).MaxLengthWithLengthAnnotationClass

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Properties summary

Properties

  • Id
    Id
    public int Id { get; set; }Public Property Id As Integer

    Property 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

    Property 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

    Property Value

    • System.String
      System.String

Details

Assembly

Microsoft.EntityFrameworkCore.Specification.Tests.dll