DbEntityEntry<TEntity> Implicit, conversion (DbEntityEntry<TEntity> to DbEntityEntry)
[Cette page concerne Entity Framework version 6. La dernière version est disponible sous le nom de package 'Entity Framework' NuGet. Pour plus d'informations sur Entity Framework, consultez msdn.com/data/ef.]
Retourne une nouvelle instance de la classe DbEntityEntry non générique pour l'entité suivie représentée par cet objet.
Espace de noms : System.Data.Entity.Infrastructure
Assembly : EntityFramework (dans EntityFramework.dll)
Syntaxe
'Déclaration
Public Shared Widening Operator CType ( _
entry As DbEntityEntry(Of TEntity) _
) As DbEntityEntry
'Utilisation
Dim input As DbEntityEntry(Of TEntity)
Dim output As DbEntityEntry
output = CType(input, DbEntityEntry)
public static implicit operator DbEntityEntry (
DbEntityEntry<TEntity> entry
)
static implicit operator DbEntityEntry^ (
DbEntityEntry<TEntity>^ entry
)
JScript supports the use of custom casts, but not the declaration of new ones.
Paramètres
- entry
Type : System.Data.Entity.Infrastructure.DbEntityEntry<TEntity>
Objet représentant l'entité suivie.
Valeur de retour
Type : System.Data.Entity.Infrastructure.DbEntityEntry
Version non générique.