ModelBuilderTest.BaseTypeWithKeyAnnotation ModelBuilderTest.BaseTypeWithKeyAnnotation Class

Syntax

Declaration

protected class BaseTypeWithKeyAnnotationProtected Class BaseTypeWithKeyAnnotation

Inheritance Hierarchy

  • System.Object
    System.Object
  • ModelBuilderTest.BaseTypeWithKeyAnnotation
    ModelBuilderTest.BaseTypeWithKeyAnnotation

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

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

    Property Value

    • System.Int32
      System.Int32
  • ForeignKeyProperty
    ForeignKeyProperty
    public int ForeignKeyProperty { get; set; }Public Property ForeignKeyProperty As Integer

    Property Value

    • System.Int32
      System.Int32
  • MyPrimaryKey
    MyPrimaryKey
    [Key]
    public int MyPrimaryKey { get; set; }<Key>
    Public Property MyPrimaryKey As Integer

    Property Value

    • System.Int32
      System.Int32
  • Navigation
    Navigation
    [ForeignKey("ForeignKeyProperty")]
    public ModelBuilderTest.PrincipalTypeWithKeyAnnotation Navigation { get; set; }<ForeignKey("ForeignKeyProperty")>
    Public Property Navigation As ModelBuilderTest.PrincipalTypeWithKeyAnnotation

    Property Value

Details

Assembly

Microsoft.EntityFrameworkCore.Tests.dll