Share via


Metodo ObjectContext.GetKnownProxyTypes

[Questa pagina è specifica della versione 6 di Entity Framework. La versione più recente è disponibile come pacchetto NuGet per "Entity Framework". Per ulteriori informazioni su Entity Framework, vedere la pagina msdn.com/data/ef.]

Restituisce tutti i tipi di proxy esistenti.

Spazio dei nomi:  System.Data.Entity.Core.Objects
Assembly:  EntityFramework (in EntityFramework.dll)

Sintassi

'Dichiarazione
<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")> _
Public Shared Function GetKnownProxyTypes As IEnumerable(Of Type)
'Utilizzo
Dim returnValue As IEnumerable(Of Type)

returnValue = ObjectContext.GetKnownProxyTypes()
[SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")]
public static IEnumerable<Type> GetKnownProxyTypes()
[SuppressMessageAttribute(L"Microsoft.Design", L"CA1024:UsePropertiesWhereAppropriate")]
public:
static IEnumerable<Type^>^ GetKnownProxyTypes()
[<SuppressMessageAttribute("Microsoft.Design", "CA1024:UsePropertiesWhereAppropriate")>]
static member GetKnownProxyTypes : unit -> IEnumerable<Type> 
public static function GetKnownProxyTypes() : IEnumerable<Type>

Valore restituito

Tipo: System.Collections.Generic.IEnumerable<Type>
IEnumerable<T> di tutti i tipi di proxy esistenti.

Vedere anche

Riferimento

ObjectContext Classe

Spazio dei nomi System.Data.Entity.Core.Objects