Share via


RelationalComplexTypePrimitiveCollectionBuilderExtensions.HasJsonPropertyName Method

Definition

Overloads

HasJsonPropertyName(ComplexTypePrimitiveCollectionBuilder, String)

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

HasJsonPropertyName<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

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

HasJsonPropertyName(ComplexTypePrimitiveCollectionBuilder, String)

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

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

Parameters

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder

The builder for the property 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<TProperty>(ComplexTypePrimitiveCollectionBuilder<TProperty>, String)

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

public static Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<TProperty> HasJsonPropertyName<TProperty> (this Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<TProperty> primitiveCollectionBuilder, string? name);
static member HasJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<'Property> * string -> Microsoft.EntityFrameworkCore.Metadata.Builders.ComplexTypePrimitiveCollectionBuilder<'Property>
<Extension()>
Public Function HasJsonPropertyName(Of TProperty) (primitiveCollectionBuilder As ComplexTypePrimitiveCollectionBuilder(Of TProperty), name As String) As ComplexTypePrimitiveCollectionBuilder(Of TProperty)

Type Parameters

TProperty

Parameters

primitiveCollectionBuilder
ComplexTypePrimitiveCollectionBuilder<TProperty>

The builder for the property being configured.

name
String

JSON property name to be used.

Returns

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

Applies to