共用方式為


CoreStrings.ComplexPropertyOptional(Object, Object) 方法

定義

設定複雜屬性 '{type}。不支援 {property}' 作為選擇性,請呼叫 'IsRequired () '。 如需相關資訊,請參閱 https://github.com/dotnet/efcore/issues/31376

public static string ComplexPropertyOptional (object? type, object? property);
static member ComplexPropertyOptional : obj * obj -> string
Public Shared Function ComplexPropertyOptional (type As Object, property As Object) As String

參數

type
Object
property
Object

傳回

適用於