CosmosPropertyExtensions.GetJsonPropertyName Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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)
- Source:
- CosmosPropertyExtensions.cs
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)
- Source:
- CosmosPropertyExtensions.cs
- Source:
- CosmosPropertyExtensions.cs
- Source:
- CosmosPropertyExtensions.cs
- Source:
- CosmosPropertyExtensions.cs
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
Entity Framework