Bewerken

Share via


ObjectContext.GetKnownProxyTypes Method

Definition

Returns all the existing proxy types.

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)

Returns

An IEnumerable<T> of all the existing proxy types.

Remarks

The GetKnownProxyTypes method is used when proxy object generation is enabled for POCO entities. For more information, see Requirements for Creating POCO Proxies and Working with POCO Entities.

Applies to