ObjectContext.CreateProxyTypes(IEnumerable<Type>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生一個等價型別,可用於 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 未映射到概念模型中實體類型的個別類型會被忽略。