CosmosComplexPropertyExtensions.SetJsonPropertyName 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定該物件在鎖定 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)
參數
- property
- IMutableComplexProperty
屬性。
- name
- String
要設定的名字。