ObjectContext.CreateProxyTypes(IEnumerable<Type>) 方法

定義

產生一個等價型別,可用於 Entity Framework 對所提供列舉中的每個型別。

public:
 void CreateProxyTypes(System::Collections::Generic::IEnumerable<Type ^> ^ types);
public void CreateProxyTypes(System.Collections.Generic.IEnumerable<Type> types);
member this.CreateProxyTypes : seq<Type> -> unit
Public Sub CreateProxyTypes (types As IEnumerable(Of Type))

參數

types
IEnumerable<Type>

一個代表自訂資料類別的物件的枚舉 Type ,這些資料類別會映射到概念模型。

備註

列舉中 types 未映射到概念模型中實體類型的個別類型會被忽略。

適用於