Bagikan melalui


CoreStrings.CannotBeNullable(Object, Object, Object) Metode

Definisi

Properti '{1_entityType}. {0_property}' tidak dapat ditandai sebagai dapat diubah ke null/opsional karena tipe properti adalah '{propertyType}' yang bukan tipe yang dapat diubah ke null. Properti apa pun dapat ditandai sebagai tidak dapat diubah ke null/diperlukan, tetapi hanya properti dari jenis yang dapat diubah ke null yang dapat ditandai sebagai dapat diubah ke null/opsional.

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

Parameter

property
Object
entityType
Object
propertyType
Object

Mengembalikan

Berlaku untuk