RelationshipDiscoveryConvention RelationshipDiscoveryConvention 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 RelationshipDiscoveryConvention : IEntityTypeConvention, IBaseTypeConvention, INavigationRemovedConvention, IEntityTypeMemberIgnoredConvention, INavigationConvention
Public Class RelationshipDiscoveryConvention
    Implements IEntityTypeConvention, IBaseTypeConvention, INavigationRemovedConvention, IEntityTypeMemberIgnoredConvention, INavigationConvention
Inheritance
System.ObjectSystem.Object
RelationshipDiscoveryConventionRelationshipDiscoveryConvention
Implements

Fields

AmbiguousNavigationsAnnotationName AmbiguousNavigationsAnnotationName

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 const string AmbiguousNavigationsAnnotationName = "RelationshipDiscoveryConvention:AmbiguousNavigations"
Public Const AmbiguousNavigationsAnnotationName As String = "RelationshipDiscoveryConvention:AmbiguousNavigations"

NavigationCandidatesAnnotationName NavigationCandidatesAnnotationName

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 const string NavigationCandidatesAnnotationName = "RelationshipDiscoveryConvention:NavigationCandidates"
Public Const NavigationCandidatesAnnotationName As String = "RelationshipDiscoveryConvention:NavigationCandidates"

Methods

Apply(InternalEntityTypeBuilder) Apply(InternalEntityTypeBuilder)

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 InternalEntityTypeBuilder Apply(InternalEntityTypeBuilder entityTypeBuilder)
Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder) As InternalEntityTypeBuilder
Parameters
Returns

Apply(InternalEntityTypeBuilder, EntityType) Apply(InternalEntityTypeBuilder, EntityType)

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(InternalEntityTypeBuilder entityTypeBuilder, EntityType oldBaseType)
Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, oldBaseType As EntityType) As Boolean
Parameters
oldBaseType
EntityType EntityType
Returns
System.Boolean System.Boolean

Apply(InternalEntityTypeBuilder, InternalEntityTypeBuilder, String, PropertyInfo) Apply(InternalEntityTypeBuilder, InternalEntityTypeBuilder, String, PropertyInfo)

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(InternalEntityTypeBuilder sourceEntityTypeBuilder, InternalEntityTypeBuilder targetEntityTypeBuilder, string navigationName, PropertyInfo propertyInfo)
Public Overridable Function Apply(sourceEntityTypeBuilder As InternalEntityTypeBuilder, targetEntityTypeBuilder As InternalEntityTypeBuilder, navigationName As String, propertyInfo As PropertyInfo) As Boolean
Parameters
navigationName
System.String System.String
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns
System.Boolean System.Boolean

Apply(InternalEntityTypeBuilder, String) Apply(InternalEntityTypeBuilder, String)

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(InternalEntityTypeBuilder entityTypeBuilder, string ignoredMemberName)
Public Overridable Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, ignoredMemberName As String) As Boolean
Parameters
ignoredMemberName
System.String System.String
Returns
System.Boolean System.Boolean

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

FindCandidateNavigationPropertyType(PropertyInfo) FindCandidateNavigationPropertyType(PropertyInfo)

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 Type FindCandidateNavigationPropertyType(PropertyInfo propertyInfo)
Public Overridable Function FindCandidateNavigationPropertyType(propertyInfo As PropertyInfo) As Type
Parameters
propertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
Returns
System.Type System.Type

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