InversePropertyAttributeConvention InversePropertyAttributeConvention 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 InversePropertyAttributeConvention : NavigationAttributeEntityTypeConvention<InversePropertyAttribute>, IEntityTypeConvention, IEntityTypeIgnoredConvention, INavigationConvention, IBaseTypeConvention, IEntityTypeMemberIgnoredConvention
Public Class InversePropertyAttributeConvention
    Inherits NavigationAttributeEntityTypeConvention(Of InversePropertyAttribute)
    Implements IEntityTypeConvention, IEntityTypeIgnoredConvention, INavigationConvention, IBaseTypeConvention, IEntityTypeMemberIgnoredConvention
Inheritance
System.ObjectSystem.Object
NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>NavigationAttributeEntityTypeConvention(Of System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)
InversePropertyAttributeConventionInversePropertyAttributeConvention
Implements

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) Apply(InternalEntityTypeBuilder)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

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

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

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
oldBaseType
EntityType EntityType
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
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)

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
navigationPropertyInfo
System.Reflection.PropertyInfo System.Reflection.PropertyInfo
targetClrType
System.Type System.Type
attribute
System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
Returns
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)

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

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

Apply(InternalModelBuilder, String, Type) Apply(InternalModelBuilder, String, Type)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

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
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
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalModelBuilder, System.Type, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalModelBuilder, System.Type, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)

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

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

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
navigation
Navigation Navigation
attribute
System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute
Returns
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.Navigation, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.Apply(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder, Microsoft.EntityFrameworkCore.Metadata.Internal.Navigation, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)

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
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
Overrides
Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.ApplyIgnored(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>.ApplyIgnored(Microsoft.EntityFrameworkCore.Metadata.Internal.InternalEntityTypeBuilder, System.Reflection.PropertyInfo, System.Type, System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute)

Equals(Object) Equals(Object)

Inherited from System.Object

Equals(Object, Object) Equals(Object, Object)

Inherited from System.Object

FindCandidateNavigationPropertyType(PropertyInfo) FindCandidateNavigationPropertyType(PropertyInfo)

Inherited from Microsoft.EntityFrameworkCore.Metadata.Conventions.Internal.NavigationAttributeEntityTypeConvention<System.ComponentModel.DataAnnotations.Schema.InversePropertyAttribute>

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