共用方式為


TableProvider.RootEntityType 屬性

定義

取得此實體的根型別。

public:  virtual property Type ^ RootEntityType {  public:
Type ^ get(); protected:
 void set(Type ^ value); };
public virtual Type RootEntityType { get; protected set; }
member this.RootEntityType : Type with get, set
Public Overridable Property RootEntityType As Type

屬性值

如果實體有父代,則為此實體的根型別,否則為 EntityType 類別的執行個體。

適用於