Share via


ForeignKeyPrimitivePropertyAttributeConvention Class

Definition

Convention to process instances of ForeignKeyAttribute found on foreign key properties in the model.

public class ForeignKeyPrimitivePropertyAttributeConvention : System.Data.Entity.ModelConfiguration.Conventions.PropertyAttributeConfigurationConvention<System.ComponentModel.DataAnnotations.Schema.ForeignKeyAttribute>
type ForeignKeyPrimitivePropertyAttributeConvention = class
    inherit PropertyAttributeConfigurationConvention<ForeignKeyAttribute>
Public Class ForeignKeyPrimitivePropertyAttributeConvention
Inherits PropertyAttributeConfigurationConvention(Of ForeignKeyAttribute)
Inheritance
ForeignKeyPrimitivePropertyAttributeConvention
Inheritance
ForeignKeyPrimitivePropertyAttributeConvention

Constructors

ForeignKeyPrimitivePropertyAttributeConvention()

Methods

Apply(PropertyInfo, ConventionTypeConfiguration, ForeignKeyAttribute)

Applies this convention to a property that has an attribute of type TAttribute applied.

Apply(PropertyInfo, ConventionTypeConfiguration, TAttribute)

Applies this convention to a property that has an attribute of type TAttribute applied.

(Inherited from PropertyAttributeConfigurationConvention<TAttribute>)
Properties()

Begins configuration of a lightweight convention that applies to all properties in the model.

(Inherited from Convention)
Properties<T>()

Begins configuration of a lightweight convention that applies to all primitive properties of the specified type in the model.

(Inherited from Convention)
Types()

Begins configuration of a lightweight convention that applies to all mapped types in the model.

(Inherited from Convention)
Types<T>()

Begins configuration of a lightweight convention that applies to all mapped types in the model that derive from or implement the specified type.

(Inherited from Convention)

Applies to