共用方式為


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)

來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
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)

來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
ReferenceNavigationBuilder%60.cs
來源:
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)

來源:
ReferenceNavigationBuilder%60.cs
來源:
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)

來源:
ReferenceNavigationBuilder%60.cs
來源:
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

適用於