DbCollectionEntry<TEntity, TElement> Implicit-Konvertierung (DbCollectionEntry<TEntity, TElement> to DbCollectionEntry)
[Diese Seite bezieht sich auf Entity Framework Version 6. Die neueste Version ist als 'Entity Framework' NuGet-Paket verfügbar. Weitere Informationen zu Entity Framework finden Sie unter msdn.com/data/ef.]
Gibt eine neue Instanz der nicht generischen DbCollectionEntry-Klasse für die durch dieses Objekt dargestellte Navigationseigenschaft zurück.
Namespace: System.Data.Entity.Infrastructure
Assembly: EntityFramework (in EntityFramework.dll)
Syntax
'Declaration
Public Shared Widening Operator CType ( _
entry As DbCollectionEntry(Of TEntity, TElement) _
) As DbCollectionEntry
'Usage
Dim input As DbCollectionEntry(Of TEntity, TElement)
Dim output As DbCollectionEntry
output = CType(input, DbCollectionEntry)
public static implicit operator DbCollectionEntry (
DbCollectionEntry<TEntity, TElement> entry
)
static implicit operator DbCollectionEntry^ (
DbCollectionEntry<TEntity, TElement>^ entry
)
JScript supports the use of custom casts, but not the declaration of new ones.
Parameter
- entry
Typ: System.Data.Entity.Infrastructure.DbCollectionEntry<TEntity, TElement>
Das Objekt, das die Navigationseigenschaft darstellt.
Rückgabewert
Typ: System.Data.Entity.Infrastructure.DbCollectionEntry
Eine nicht generische Version.