Libary import got a complete overhaul. On a library of 1,200 titles: initial scan is 80-85% faster. Subsequent imports are 60-70% faster
This commit is contained in:
parent
7c144b8277
commit
878a5dd36c
20 changed files with 227 additions and 196 deletions
|
|
@ -7,8 +7,8 @@ namespace DataLayer.Configurations
|
|||
{
|
||||
public void Configure(EntityTypeBuilder<Series> entity)
|
||||
{
|
||||
entity.HasKey(b => b.SeriesId);
|
||||
entity.HasIndex(b => b.AudibleSeriesId);
|
||||
entity.HasKey(s => s.SeriesId);
|
||||
entity.HasIndex(s => s.AudibleSeriesId);
|
||||
|
||||
entity
|
||||
.Metadata
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue