ModelBuilderTest.BaseTypeWithKeyAnnotation ModelBuilderTest.BaseTypeWithKeyAnnotation Class

Definition

protected class BaseTypeWithKeyAnnotation
Protected Class BaseTypeWithKeyAnnotation
Inheritance
System.ObjectSystem.Object
ModelBuilderTest.BaseTypeWithKeyAnnotationModelBuilderTest.BaseTypeWithKeyAnnotation

Properties

AnotherKey AnotherKey

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

ForeignKeyProperty ForeignKeyProperty

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

MyPrimaryKey MyPrimaryKey

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

Navigation Navigation

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

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