Language

CosmosComplexPropertyExtensions.SetJsonPropertyName Method

Definition

Sets the property name that the property is mapped to when targeting Cosmos.

public static void SetJsonPropertyName(this Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty property, string? name);
static member SetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IMutableComplexProperty * string -> unit
<Extension()>
Public Sub SetJsonPropertyName (property As IMutableComplexProperty, name As String)

Parameters

property
IMutableComplexProperty

The property.

name
String

The name to set.

Applies to