Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​ComponentModel.​DataAnnotations.​Schema.​ForeignKeyAttribute
Assembly: System.ComponentModel.Annotations
Inheritance: object → Attribute → ForeignKeyAttribute
Denotes a property used as a foreign key in a relationship.
Properties
public
string
Name
Gets the name of the associated navigation property or of the associated foreign keys.
public
object
TypeId
Methods
protected
void
Finalize​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object