DbSet<TEntity> Implicit (Conversión) (DbSet<TEntity> to DbSet)

[Esta página es específica de la versión 6 de Entity Framework. La versión más reciente está disponible como el paquete NuGet de Entity Framework. Para más información sobre Entity Framework, consulte msdn.com/es-ES/data/ef].

Devuelve el objeto DbSet no genérico equivalente.

Espacio de nombres:  System.Data.Entity
Ensamblado:  EntityFramework (en EntityFramework.dll)

Sintaxis

'Declaración
Public Shared Widening Operator CType ( _
    entry As DbSet(Of TEntity) _
) As DbSet
'Uso
Dim input As DbSet(Of TEntity)
Dim output As DbSet 

output = CType(input, DbSet)
public static implicit operator DbSet (
    DbSet<TEntity> entry
)
static implicit operator DbSet^ (
    DbSet<TEntity>^ entry
)
JScript supports the use of custom casts, but not the declaration of new ones.

Parámetros

Valor devuelto

Tipo: System.Data.Entity.DbSet
Objeto de conjunto no genérico.

Vea también

Referencia

DbSet<TEntity> Clase

System.Data.Entity (Espacio de nombres)