Metodo ObjectContext.CreateProxyTypes
[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.]
Genera un tipo equivalente che può essere usato con Entity Framework per ogni tipo nell'enumerazione fornita.
Spazio dei nomi: System.Data.Entity.Core.Objects
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Overridable Sub CreateProxyTypes ( _
types As IEnumerable(Of Type) _
)
'Utilizzo
Dim instance As ObjectContext
Dim types As IEnumerable(Of Type)
instance.CreateProxyTypes(types)
public virtual void CreateProxyTypes(
IEnumerable<Type> types
)
public:
virtual void CreateProxyTypes(
IEnumerable<Type^>^ types
)
abstract CreateProxyTypes :
types:IEnumerable<Type> -> unit
override CreateProxyTypes :
types:IEnumerable<Type> -> unit
public function CreateProxyTypes(
types : IEnumerable<Type>
)
Parametri
- types
Tipo: System.Collections.Generic.IEnumerable<Type>
Enumerazione di oggetti Type che rappresentano classi di dati personalizzate che eseguono il mapping al modello concettuale.