語言

EntityFrameworkInternalAttribute 類別

定義

標記 API 為 Entity Framework Core 的內部。 這些 API 不受與公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用這類 API,並且要非常謹慎,並且要知道這樣做可能會導致應用程式在更新到新的 Entity Framework Core 版本時失敗。

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)]
public sealed class EntityFrameworkInternalAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Constructor | System.AttributeTargets.Delegate | System.AttributeTargets.Enum | System.AttributeTargets.Event | System.AttributeTargets.Field | System.AttributeTargets.Interface | System.AttributeTargets.Method | System.AttributeTargets.Property | System.AttributeTargets.Struct)>]
type EntityFrameworkInternalAttribute = class
    inherit Attribute
Public NotInheritable Class EntityFrameworkInternalAttribute
Inherits Attribute
繼承
EntityFrameworkInternalAttribute
屬性

建構函式

名稱 Description
EntityFrameworkInternalAttribute()

標記 API 為 Entity Framework Core 的內部。 這些 API 不受與公開 API 相同的相容性標準約束。 該內容可能會在任何新聞稿中未經通知而更改或移除。 你應該只在程式碼中直接使用這類 API,並且要非常謹慎,並且要知道這樣做可能會導致應用程式在更新到新的 Entity Framework Core 版本時失敗。

適用於