Share via


DbSet<TEntity> Constructor

Definition

Creates an instance of a DbSet<TEntity> when called from the constructor of a derived type that will be used as a test double for DbSets. Methods and properties that will be used by the test double must be implemented by the test double except AsNoTracking, AsStreaming, an Include where the default implementation is a no-op.

protected DbSet ();
Protected Sub New ()

Applies to