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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework