共用方式為


DbEntityEntry<TEntity>.GetType 方法

定義

取得目前執行個體的 Type

[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public Type GetType ();
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public Type GetType ();
override this.GetType : unit -> Type
Public Function GetType () As Type

傳回

目前執行個體的確切執行階段類型。

屬性

適用於