語言

DbCollectionEntry<TEntity,TElement>.Implicit 運算子

定義

回傳一個非泛型 DbCollectionEntry 類別的新實例,該物件所代表的導航屬性。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Usage", "CA2225:OperatorOverloadsHaveNamedAlternates", Justification="Intentionally just implicit to reduce API clutter.")]
public static implicit operator System.Data.Entity.Infrastructure.DbCollectionEntry(System.Data.Entity.Infrastructure.DbCollectionEntry<TEntity,TElement> entry);
static member op_Implicit : System.Data.Entity.Infrastructure.DbCollectionEntry<'Entity, 'Element (requires 'Entity : null)> -> System.Data.Entity.Infrastructure.DbCollectionEntry
Public Shared Widening Operator CType (entry As DbCollectionEntry(Of TEntity, TElement)) As DbCollectionEntry

參數

entry
DbCollectionEntry<TEntity,TElement>

代表導航性質的物件。

傳回

非通用版本。

屬性

適用於