RelationshipDiscoveryConvention RelationshipDiscoveryConvention Class

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.

Syntax

Declaration

public class RelationshipDiscoveryConvention : IEntityTypeConvention, IBaseTypeConvention, INavigationRemovedConvention, IEntityTypeMemberIgnoredConvention, INavigationConventionPublic Class RelationshipDiscoveryConvention
    Implements IEntityTypeConvention, IBaseTypeConvention, INavigationRemovedConvention, IEntityTypeMemberIgnoredConvention, INavigationConvention

Inheritance Hierarchy

  • System.Object
    System.Object
  • RelationshipDiscoveryConvention
    RelationshipDiscoveryConvention

Inherited Members

ToString(),
ToString(),
Equals(Object),
Equals(Object),
Equals(Object, Object),
Equals(Object, Object),
ReferenceEquals(Object, Object),
ReferenceEquals(Object, Object),
GetHashCode(),
GetHashCode(),
GetType(),
GetType(),
MemberwiseClone()
MemberwiseClone()

Fields summary

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.

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.

Methods summary

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.

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.

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.

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.

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.

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.

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

    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

    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

    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

    Returns

  • 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

Details

Assembly

Microsoft.EntityFrameworkCore.dll