Share via


DbSet<TEntity>.Implicit(DbSet<TEntity> to DbSet) Operator

Definition

Returns the equivalent non-generic DbSet object.

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

Parameters

entry
DbSet<TEntity>

The generic set object.

Returns

The non-generic set object.

Attributes

Applies to