共用方式為


CoreStrings.ValueGenWithConversion(Object, Object, Object) 方法

定義

屬性 '{entityType} 不支援產生值。{property}',因為它已設定 '{converter}' 轉換器。 將 屬性設定為不使用 'ValueGenerated.Never' 或 'DatabaseGeneratedOption.None' 的值產生,並改為指定明確的值。

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

參數

entityType
Object
property
Object
converter
Object

傳回

適用於