Share via


SqlServerDbSetExtensions Class

Definition

Sql Server database specific extension methods for LINQ queries rooted in DbSet.

public static class SqlServerDbSetExtensions
type SqlServerDbSetExtensions = class
Public Module SqlServerDbSetExtensions
Inheritance
SqlServerDbSetExtensions

Methods

TemporalAll<TEntity>(DbSet<TEntity>)

Applies temporal 'All' operation on the given DbSet, which returns all historical versions of the entities as well as their current state.

TemporalAsOf<TEntity>(DbSet<TEntity>, DateTime)

Applies temporal 'AsOf' operation on the given DbSet, which only returns elements that were present in the database at a given point in time.

TemporalBetween<TEntity>(DbSet<TEntity>, DateTime, DateTime)

Applies temporal 'Between' operation on the given DbSet, which only returns elements that were present in the database between two points in time.

TemporalContainedIn<TEntity>(DbSet<TEntity>, DateTime, DateTime)

Applies temporal 'ContainedIn' operation on the given DbSet, which only returns elements that were present in the database between two points in time.

TemporalFromTo<TEntity>(DbSet<TEntity>, DateTime, DateTime)

Applies temporal 'FromTo' operation on the given DbSet, which only returns elements that were present in the database between two points in time.

Applies to