InversePropertyAttributeConvention InversePropertyAttributeConvention 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 InversePropertyAttributeConvention : NavigationAttributeEntityTypeConvention<InversePropertyAttribute>, IEntityTypeConvention, IEntityTypeIgnoredConvention, INavigationConvention, IBaseTypeConvention, IEntityTypeMemberIgnoredConventionPublic Class InversePropertyAttributeConvention
    Inherits NavigationAttributeEntityTypeConvention(Of InversePropertyAttribute)
    Implements IEntityTypeConvention, IEntityTypeIgnoredConvention, INavigationConvention, IBaseTypeConvention, IEntityTypeMemberIgnoredConvention

Inheritance Hierarchy

Inherited Members

Apply(InternalEntityTypeBuilder),
Apply(InternalEntityTypeBuilder),
Apply(InternalModelBuilder, String, Type),
Apply(InternalModelBuilder, String, Type),
Apply(InternalRelationshipBuilder, Navigation),
Apply(InternalRelationshipBuilder, Navigation),
Apply(InternalEntityTypeBuilder, EntityType),
Apply(InternalEntityTypeBuilder, EntityType),
Apply(InternalEntityTypeBuilder, String),
Apply(InternalEntityTypeBuilder, String),
FindCandidateNavigationPropertyType(PropertyInfo),
FindCandidateNavigationPropertyType(PropertyInfo),
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.

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.

Fields

  • InverseNavigationsAnnotationName
    InverseNavigationsAnnotationName

    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 InverseNavigationsAnnotationName = "InversePropertyAttributeConvention:InverseNavigations"Public Const InverseNavigationsAnnotationName As String = "InversePropertyAttributeConvention:InverseNavigations"

Methods

  • Apply(InternalEntityTypeBuilder, EntityType, PropertyInfo, Type, InversePropertyAttribute)
    Apply(InternalEntityTypeBuilder, EntityType, PropertyInfo, Type, InversePropertyAttribute)

    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 override bool Apply(InternalEntityTypeBuilder entityTypeBuilder, EntityType oldBaseType, PropertyInfo navigationPropertyInfo, Type targetClrType, InversePropertyAttribute attribute)Public Overrides Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, oldBaseType As EntityType, navigationPropertyInfo As PropertyInfo, targetClrType As Type, attribute As InversePropertyAttribute) As Boolean

    Parameters

    • entityTypeBuilder
    • oldBaseType
    • navigationPropertyInfo
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • targetClrType
      System.Type
      System.Type
    • attribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute

    Returns

    • System.Boolean
      System.Boolean
  • Apply(InternalEntityTypeBuilder, PropertyInfo, Type, InversePropertyAttribute)
    Apply(InternalEntityTypeBuilder, PropertyInfo, Type, InversePropertyAttribute)

    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 override InternalEntityTypeBuilder Apply(InternalEntityTypeBuilder entityTypeBuilder, PropertyInfo navigationPropertyInfo, Type targetClrType, InversePropertyAttribute attribute)Public Overrides Function Apply(entityTypeBuilder As InternalEntityTypeBuilder, navigationPropertyInfo As PropertyInfo, targetClrType As Type, attribute As InversePropertyAttribute) As InternalEntityTypeBuilder

    Parameters

    • entityTypeBuilder
    • navigationPropertyInfo
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • targetClrType
      System.Type
      System.Type
    • attribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute

    Returns

  • Apply(InternalModelBuilder, Type, PropertyInfo, Type, InversePropertyAttribute)
    Apply(InternalModelBuilder, Type, PropertyInfo, Type, InversePropertyAttribute)

    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 override bool Apply(InternalModelBuilder modelBuilder, Type type, PropertyInfo navigationPropertyInfo, Type targetClrType, InversePropertyAttribute attribute)Public Overrides Function Apply(modelBuilder As InternalModelBuilder, type As Type, navigationPropertyInfo As PropertyInfo, targetClrType As Type, attribute As InversePropertyAttribute) As Boolean

    Parameters

    • modelBuilder
    • type
      System.Type
      System.Type
    • navigationPropertyInfo
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • targetClrType
      System.Type
      System.Type
    • attribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute

    Returns

    • System.Boolean
      System.Boolean
  • Apply(InternalRelationshipBuilder, Navigation, InversePropertyAttribute)
    Apply(InternalRelationshipBuilder, Navigation, InversePropertyAttribute)

    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 override InternalRelationshipBuilder Apply(InternalRelationshipBuilder relationshipBuilder, Navigation navigation, InversePropertyAttribute attribute)Public Overrides Function Apply(relationshipBuilder As InternalRelationshipBuilder, navigation As Navigation, attribute As InversePropertyAttribute) As InternalRelationshipBuilder

    Parameters

    Returns

  • ApplyIgnored(InternalEntityTypeBuilder, PropertyInfo, Type, InversePropertyAttribute)
    ApplyIgnored(InternalEntityTypeBuilder, PropertyInfo, Type, InversePropertyAttribute)

    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 override bool ApplyIgnored(InternalEntityTypeBuilder entityTypeBuilder, PropertyInfo navigationPropertyInfo, Type targetClrType, InversePropertyAttribute attribute)Public Overrides Function ApplyIgnored(entityTypeBuilder As InternalEntityTypeBuilder, navigationPropertyInfo As PropertyInfo, targetClrType As Type, attribute As InversePropertyAttribute) As Boolean

    Parameters

    • entityTypeBuilder
    • navigationPropertyInfo
      System.Reflection.PropertyInfo
      System.Reflection.PropertyInfo
    • targetClrType
      System.Type
      System.Type
    • attribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
      System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute

    Returns

    • System.Boolean
      System.Boolean

Details

Assembly

Microsoft.EntityFrameworkCore.dll