ForeignKeyPropertyDiscoveryConvention ForeignKeyPropertyDiscoveryConvention Class

Definition

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public class ForeignKeyPropertyDiscoveryConvention : IForeignKeyConvention, INavigationConvention, IPropertyConvention, IPrincipalEndConvention, IPropertyFieldChangedConvention, IForeignKeyUniquenessConvention, IKeyConvention, IKeyRemovedConvention
Public Class ForeignKeyPropertyDiscoveryConvention
    Implements IForeignKeyConvention, INavigationConvention, IPropertyConvention, IPrincipalEndConvention, IPropertyFieldChangedConvention, IForeignKeyUniquenessConvention, IKeyConvention, IKeyRemovedConvention
Inheritance
System.ObjectSystem.Object
ForeignKeyPropertyDiscoveryConventionForeignKeyPropertyDiscoveryConvention
Implements

Methods

Apply(InternalEntityTypeBuilder, Key) Apply(InternalEntityTypeBuilder, Key)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual void Apply(InternalEntityTypeBuilder entityTypeBuilder, Key key)
Public Overridable Sub Apply(entityTypeBuilder As InternalEntityTypeBuilder, key As Key)
Parameters
key
Key Key

Apply(InternalKeyBuilder) Apply(InternalKeyBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalKeyBuilder Apply(InternalKeyBuilder keyBuilder)
Public Overridable Function Apply(keyBuilder As InternalKeyBuilder) As InternalKeyBuilder
Parameters
Returns

Apply(InternalPropertyBuilder) Apply(InternalPropertyBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalPropertyBuilder Apply(InternalPropertyBuilder propertyBuilder)
Public Overridable Function Apply(propertyBuilder As InternalPropertyBuilder) As InternalPropertyBuilder
Parameters
Returns

Apply(InternalPropertyBuilder, FieldInfo) Apply(InternalPropertyBuilder, FieldInfo)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual bool Apply(InternalPropertyBuilder propertyBuilder, FieldInfo oldFieldInfo)
Public Overridable Function Apply(propertyBuilder As InternalPropertyBuilder, oldFieldInfo As FieldInfo) As Boolean
Parameters
oldFieldInfo
System.Reflection.FieldInfo System.Reflection.FieldInfo
Returns
System.Boolean System.Boolean

Apply(InternalRelationshipBuilder) Apply(InternalRelationshipBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalRelationshipBuilder Apply(InternalRelationshipBuilder relationshipBuilder)
Public Overridable Function Apply(relationshipBuilder As InternalRelationshipBuilder) As InternalRelationshipBuilder
Parameters
Returns

Apply(InternalRelationshipBuilder, Navigation) Apply(InternalRelationshipBuilder, Navigation)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

public virtual InternalRelationshipBuilder Apply(InternalRelationshipBuilder relationshipBuilder, Navigation navigation)
Public Overridable Function Apply(relationshipBuilder As InternalRelationshipBuilder, navigation As Navigation) As InternalRelationshipBuilder
Parameters
navigation
Navigation Navigation
Returns

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

Explicit Interface Implementations

IForeignKeyUniquenessConvention.Apply(InternalRelationshipBuilder) Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyUniquenessConvention.Apply(InternalRelationshipBuilder)

This API supports the Entity Framework Core infrastructure and is not intended to be used directly from your code. This API may change or be removed in future releases.

InternalRelationshipBuilder IForeignKeyUniquenessConvention.Apply(InternalRelationshipBuilder relationshipBuilder)
Function Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.IForeignKeyUniquenessConvention.Apply(relationshipBuilder As InternalRelationshipBuilder) As InternalRelationshipBuilder Implements IForeignKeyUniquenessConvention.Apply
Parameters
Returns