CoreStrings.InheritedPropertyCannotBeIgnored(Object, Object, Object) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
類型 '{type}' 上無法忽略屬性 '{property}',因為它在基底類型 '{baseType}' 上宣告。 若要從模型排除此屬性,請在 'OnModelCreating' 的基底類型上使用 [NotMapped] 屬性或 'Ignore'。
public static string InheritedPropertyCannotBeIgnored (object property, object entityType, object baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? entityType, object? baseEntityType);
public static string InheritedPropertyCannotBeIgnored (object? property, object? type, object? baseType);
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
static member InheritedPropertyCannotBeIgnored : obj * obj * obj -> string
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, entityType As Object, baseEntityType As Object) As String
Public Shared Function InheritedPropertyCannotBeIgnored (property As Object, type As Object, baseType As Object) As String
參數
- property
- Object
- entityTypetype
- Object
- baseEntityTypebaseType
- Object