Share via


DbSet Constructor

Definition

Creates an instance of a DbSet 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 internal DbSet ();
Protected Friend Sub New ()

Applies to