CosmosComplexPropertyExtensions.SetJsonPropertyName 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.
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.