DbSet<TEntity>.AsQueryable Method
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 this object typed as IQueryable<T>.
public virtual System.Linq.IQueryable<TEntity> AsQueryable ();
abstract member AsQueryable : unit -> System.Linq.IQueryable<'Entity (requires 'Entity : null)>
override this.AsQueryable : unit -> System.Linq.IQueryable<'Entity (requires 'Entity : null)>
Public Overridable Function AsQueryable () As IQueryable(Of TEntity)
Returns
IQueryable<TEntity>
This object.
Remarks
This is a convenience method to help with disambiguation of extension methods in the same namespace that extend both interfaces.
See Querying data with EF Core for more information and examples.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework