Re-enable tracking queries by default.
This commit is contained in:
parent
42b5762365
commit
6aea6541d0
|
|
@ -10,7 +10,8 @@ namespace MusicStore.Models
|
||||||
public MusicStoreContext(DbContextOptions<MusicStoreContext> options)
|
public MusicStoreContext(DbContextOptions<MusicStoreContext> options)
|
||||||
: base(options)
|
: base(options)
|
||||||
{
|
{
|
||||||
ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
|
// TODO: #639
|
||||||
|
//ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
|
||||||
}
|
}
|
||||||
|
|
||||||
public DbSet<Album> Albums { get; set; }
|
public DbSet<Album> Albums { get; set; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue