CoreStrings.NoValueGenerator(Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
性質 '{1_entityType}。{0_property}' 沒有值集,且無法針對類型為 '{propertyType}'' 的屬性產生值。 要麼在新增實體前先設定屬性值,要麼在 'OnModelCreating' 中設定屬性類型為 '{propertyType}' 的值產生器。
public static string NoValueGenerator(object? property, object? entityType, object? propertyType);
public static string NoValueGenerator(object property, object entityType, object propertyType);
static member NoValueGenerator : obj * obj * obj -> string
Public Shared Function NoValueGenerator (property As Object, entityType As Object, propertyType As Object) As String
參數
- property
- Object
- entityType
- Object
- propertyType
- Object