ReferenceNavigationBuilder.WithManyBuilder 方法

定义

重载

WithManyBuilder(MemberInfo)

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

WithManyBuilder(PropertyInfo)

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

WithManyBuilder(String)

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

WithManyBuilder(MemberInfo)

Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs

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

[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder WithManyBuilder (System.Reflection.MemberInfo navigationMemberInfo);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder WithManyBuilder (System.Reflection.MemberInfo navigationMemberInfo);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder WithManyBuilder (System.Reflection.MemberInfo? navigationMemberInfo);
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member WithManyBuilder : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.WithManyBuilder : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member WithManyBuilder : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.WithManyBuilder : System.Reflection.MemberInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function WithManyBuilder (navigationMemberInfo As MemberInfo) As InternalRelationshipBuilder
Protected Overridable Function WithManyBuilder (navigationMemberInfo As MemberInfo) As InternalForeignKeyBuilder

参数

navigationMemberInfo
MemberInfo

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
属性

适用于

WithManyBuilder(PropertyInfo)

Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs

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

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder WithManyBuilder (System.Reflection.PropertyInfo navigationProperty);
abstract member WithManyBuilder : System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.WithManyBuilder : System.Reflection.PropertyInfo -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Protected Overridable Function WithManyBuilder (navigationProperty As PropertyInfo) As InternalRelationshipBuilder

参数

navigationProperty
PropertyInfo

此关系另一端的集合导航属性。 如果为 null,则关系的另一端没有导航属性。

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

用于进一步配置关系的内部生成器。

适用于

WithManyBuilder(String)

Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs

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

protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder WithManyBuilder (string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder WithManyBuilder (string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder WithManyBuilder (string navigationName);
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
protected virtual Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder WithManyBuilder (string? navigationName);
abstract member WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
override this.WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
override this.WithManyBuilder : string -> Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder
Protected Overridable Function WithManyBuilder (navigationName As String) As InternalRelationshipBuilder
Protected Overridable Function WithManyBuilder (navigationName As String) As InternalForeignKeyBuilder

参数

navigationName
String

此关系另一端的集合导航属性的名称。 如果为 null,则关系的另一端没有导航属性。

返回

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder
Microsoft.EntityFrameworkCore.Metadata.Internal.InternalForeignKeyBuilder

用于进一步配置关系的内部生成器。

属性

适用于