ReferenceNavigationBuilder<TEntity,TRelatedEntity> 构造函数

定义

重载

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(IMutableEntityType, IMutableEntityType, MemberInfo, IMutableForeignKey)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(IMutableEntityType, IMutableEntityType, String, IMutableForeignKey)

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(EntityType, EntityType, PropertyInfo, InternalRelationshipBuilder)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(EntityType, EntityType, String, InternalRelationshipBuilder)

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(IMutableEntityType, IMutableEntityType, MemberInfo, IMutableForeignKey)

Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType relatedEntityType, System.Reflection.MemberInfo navigationMemberInfo, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType relatedEntityType, System.Reflection.MemberInfo? navigationMemberInfo, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Reflection.MemberInfo * Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)>
Public Sub New (declaringEntityType As IMutableEntityType, relatedEntityType As IMutableEntityType, navigationMemberInfo As MemberInfo, foreignKey As IMutableForeignKey)

参数

declaringEntityType
IMutableEntityType
relatedEntityType
IMutableEntityType
navigationMemberInfo
MemberInfo
foreignKey
IMutableForeignKey
属性

适用于

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(IMutableEntityType, IMutableEntityType, String, IMutableForeignKey)

Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs

这是一个支持 Entity Framework Core 基础结构的内部 API,不受与公共 API 相同的兼容性标准的约束。 可能会在任何版本中更改或删除它,而无需通知。 仅应在代码中非常谨慎地直接使用它,并且知道在更新到新的 Entity Framework Core 版本时这样做可能会导致应用程序失败。

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType relatedEntityType, string navigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType relatedEntityType, string? navigationName, Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey foreignKey);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * string * Microsoft.EntityFrameworkCore.Metadata.IMutableForeignKey -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)>
Public Sub New (declaringEntityType As IMutableEntityType, relatedEntityType As IMutableEntityType, navigationName As String, foreignKey As IMutableForeignKey)

参数

declaringEntityType
IMutableEntityType
relatedEntityType
IMutableEntityType
navigationName
String
foreignKey
IMutableForeignKey
属性

适用于

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(EntityType, EntityType, PropertyInfo, InternalRelationshipBuilder)

Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, System.Reflection.PropertyInfo navigationProperty, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * System.Reflection.PropertyInfo * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)>
Public Sub New (declaringEntityType As EntityType, relatedEntityType As EntityType, navigationProperty As PropertyInfo, builder As InternalRelationshipBuilder)

参数

declaringEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
relatedEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
navigationProperty
PropertyInfo
builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

适用于

ReferenceNavigationBuilder<TEntity,TRelatedEntity>(EntityType, EntityType, String, InternalRelationshipBuilder)

Source:
ReferenceNavigationBuilder%60.cs
Source:
ReferenceNavigationBuilder%60.cs

此 API 支持 Entity Framework Core 基础结构,不应直接从代码使用。 将来的版本中可能会更改或删除此 API。

public ReferenceNavigationBuilder (Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType declaringEntityType, Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType relatedEntityType, string navigationName, Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder builder);
new Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)> : Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType * string * Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder -> Microsoft.EntityFrameworkCore.Metadata.Builders.ReferenceNavigationBuilder<'Entity, 'RelatedEntity (requires 'Entity : null and 'RelatedEntity : null)>
Public Sub New (declaringEntityType As EntityType, relatedEntityType As EntityType, navigationName As String, builder As InternalRelationshipBuilder)

参数

declaringEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
relatedEntityType
Microsoft.EntityFrameworkCore.Metadata.Internal.EntityType
navigationName
String
builder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

适用于