RelationalOwnedNavigationBuilderExtensions.HasJsonPropertyName Method

Definition

Overloads

HasJsonPropertyName(OwnedNavigationBuilder, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

HasJsonPropertyName<TSource,TTarget>(OwnedNavigationBuilder<TSource,TTarget>, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

HasJsonPropertyName(OwnedNavigationBuilder, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder HasJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder navigationBuilder, string? name);
static member HasJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder
<Extension()>
Public Function HasJsonPropertyName (navigationBuilder As OwnedNavigationBuilder, name As String) As OwnedNavigationBuilder

Parameters

navigationBuilder
OwnedNavigationBuilder

The builder for the navigation being configured.

name
String

JSON property name to be used.

Returns

The same builder instance so that multiple calls can be chained.

Applies to

HasJsonPropertyName<TSource,TTarget>(OwnedNavigationBuilder<TSource,TTarget>, String)

Configures the navigation of an entity mapped to a JSON column, mapping the navigation to a specific JSON property, rather than using the navigation name.

public static Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TSource,TTarget> HasJsonPropertyName<TSource,TTarget> (this Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<TSource,TTarget> navigationBuilder, string? name) where TSource : class where TTarget : class;
static member HasJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Source, 'arget (requires 'Source : null and 'arget : null)> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.OwnedNavigationBuilder<'Source, 'arget (requires 'Source : null and 'arget : null)> (requires 'Source : null and 'arget : null)
<Extension()>
Public Function HasJsonPropertyName(Of TSource As Class, TTarget As Class) (navigationBuilder As OwnedNavigationBuilder(Of TSource, TTarget), name As String) As OwnedNavigationBuilder(Of TSource, TTarget)

Type Parameters

TSource
TTarget

Parameters

navigationBuilder
OwnedNavigationBuilder<TSource,TTarget>

The builder for the navigation being configured.

name
String

JSON property name to be used.

Returns

OwnedNavigationBuilder<TSource,TTarget>

The same builder instance so that multiple calls can be chained.

Applies to