Delen via


ReferenceNavigationBuilder.WithOneBuilder Method

Definition

Overloads

WithOneBuilder(PropertyInfo)

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.

WithOneBuilder(MemberInfo)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

WithOneBuilder(String)

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

WithOneBuilder(PropertyInfo)

Source:
ReferenceNavigationBuilder.cs
Source:
ReferenceNavigationBuilder.cs

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.

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

Parameters

navigationProperty
PropertyInfo

The reference navigation property on the other end of this relationship. If null, there is no navigation property on the other end of the relationship.

Returns

Microsoft.EntityFrameworkCore.Metadata.Internal.InternalRelationshipBuilder

The internal builder to further configure the relationship.

Applies to

WithOneBuilder(MemberInfo)

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

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

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

Parameters

navigationMemberInfo
MemberInfo

Returns

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

Applies to

WithOneBuilder(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

This is an internal API that supports the Entity Framework Core infrastructure and not subject to the same compatibility standards as public APIs. It may be changed or removed without notice in any release. You should only use it directly in your code with extreme caution and knowing that doing so can result in application failures when updating to a new Entity Framework Core release.

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

Parameters

navigationName
String

The name of the reference navigation property on the other end of this relationship. If null, there is no navigation property on the other end of the relationship.

Returns

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

The internal builder to further configure the relationship.

Attributes

Applies to