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 未對應至概念模型中實體類型的個別類型會被忽略。

如需詳細資訊,請參閱 建立POCO Proxy使用POCO實體的需求。

適用於