ObjectContext.GetKnownProxyTypes Metoda

Definice

Vrátí všechny existující typy proxy serveru.

public:
 static System::Collections::Generic::IEnumerable<Type ^> ^ GetKnownProxyTypes();
public static System.Collections.Generic.IEnumerable<Type> GetKnownProxyTypes ();
static member GetKnownProxyTypes : unit -> seq<Type>
Public Shared Function GetKnownProxyTypes () As IEnumerable(Of Type)

Návraty

An IEnumerable<T> všech existujících typů proxy serveru.

Poznámky

Metoda se GetKnownProxyTypes používá při povolení generování objektů proxy pro entity POCO. Další informace najdete v tématu Požadavky na vytváření proxy serverů POCO a práce s entitami POCO.

Platí pro