DbEntityEntry<TEntity>.Implicit 运算符

定义

返回由此 对象表示的跟踪实体的非泛型 DbEntityEntry 类的新实例。

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

参数

entry
DbEntityEntry<TEntity>

表示跟踪实体的 对象。

返回

非泛型版本。

属性

适用于