Metodo DbComplexPropertyEntry.Cast<TEntity, TComplexProperty>
[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 l'oggetto DbComplexPropertyEntry<TEntity, TComplexProperty> generico equivalente.
Spazio dei nomi: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Sintassi
'Dichiarazione
Public Function Cast(Of TEntity As Class, TComplexProperty) As DbComplexPropertyEntry(Of TEntity, TComplexProperty)
'Utilizzo
Dim instance As DbComplexPropertyEntry
Dim returnValue As DbComplexPropertyEntry(Of TEntity, TComplexProperty)
returnValue = instance.Cast()
public DbComplexPropertyEntry<TEntity, TComplexProperty> Cast<TEntity, TComplexProperty>()
where TEntity : class
public:
generic<typename TEntity, typename TComplexProperty>
where TEntity : ref class
DbComplexPropertyEntry<TEntity, TComplexProperty>^ Cast()
member Cast : unit -> DbComplexPropertyEntry<'TEntity, 'TComplexProperty> when 'TEntity : not struct
JScript does not support generic types and methods.
Parametri di tipo
- TEntity
Tipo di entità in cui viene dichiarato il membro.
- TComplexProperty
Tipo della proprietà complessa.
Valore restituito
Tipo: System.Data.Entity.Infrastructure.DbComplexPropertyEntry<TEntity, TComplexProperty>
Oggetto generico equivalente.