Bahasa

CosmosComplexPropertyExtensions.SetJsonPropertyName Metode

Definisi

Mengatur nama properti tempat properti dipetakan saat menargetkan 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)

Parameter

property
IMutableComplexProperty

Properti tersebut.

name
String

Nama yang akan diatur.

Berlaku untuk