Share via


CosmosPropertyExtensions.GetJsonPropertyName Method

Definition

Overloads

GetJsonPropertyName(IProperty)

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

GetJsonPropertyName(IReadOnlyProperty)

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

GetJsonPropertyName(IProperty)

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

public static string GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IProperty -> string
<Extension()>
Public Function GetJsonPropertyName (property As IProperty) As String

Parameters

property
IProperty

The property.

Returns

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

Applies to

GetJsonPropertyName(IReadOnlyProperty)

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

public static string GetJsonPropertyName (this Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty property);
static member GetJsonPropertyName : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty -> string
<Extension()>
Public Function GetJsonPropertyName (property As IReadOnlyProperty) As String

Parameters

property
IReadOnlyProperty

The property.

Returns

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

Applies to