RuntimeTypeBase.GetDerivedTypes 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetDerivedTypes() |
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。 |
GetDerivedTypes<T>() |
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。 |
GetDerivedTypes()
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。
[Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal]
public virtual System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase> GetDerivedTypes ();
[<Microsoft.EntityFrameworkCore.Infrastructure.EntityFrameworkInternal>]
abstract member GetDerivedTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase>
override this.GetDerivedTypes : unit -> seq<Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase>
Public Overridable Function GetDerivedTypes () As IEnumerable(Of RuntimeTypeBase)
傳回
- 屬性
適用於
GetDerivedTypes<T>()
這是支援 Entity Framework Core 基礎結構的內部 API,不受與公用 API 相同的相容性標準。 它可能會在任何版本中變更或移除,而不會有任何通知。 您應該只在程式碼中直接使用它,並知道這麼做可能會導致應用程式在更新至新的 Entity Framework Core 版本時失敗。
protected virtual System.Collections.Generic.IEnumerable<T> GetDerivedTypes<T> () where T : Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase;
abstract member GetDerivedTypes : unit -> seq<'T (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase)> (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase)
override this.GetDerivedTypes : unit -> seq<'T (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase)> (requires 'T :> Microsoft.EntityFrameworkCore.Metadata.RuntimeTypeBase)
Protected Overridable Function GetDerivedTypes(Of T As RuntimeTypeBase) () As IEnumerable(Of T)
類型參數
- T
傳回
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應