Redigera

Dela via


ObjectContext.CreateProxyTypes(IEnumerable<Type>) Method

Definition

Generates an equivalent type that can be used with the Entity Framework for each type in the supplied enumeration.

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))

Parameters

types
IEnumerable<Type>

An enumeration of Type objects that represent custom data classes that map to the conceptual model.

Remarks

Individual types in the types enumeration that do not map to an entity type in the conceptual model are ignored.

For more information, see Requirements for Creating POCO Proxies and Working with POCO Entities.

Applies to