DbSet<TEntity>.Implicit(DbSet<TEntity> to DbSet) Operator
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Entity Framework