Improving the sample data insertion time.
1. Using dictionaries instead of lists to look up Artists and Genres by name 2. Sample data insertion time decreased to 333ms from 619 ms with this change.
This commit is contained in:
parent
afdd2b4c3c
commit
49e0d42ce7
File diff suppressed because it is too large
Load Diff
|
|
@ -19,7 +19,6 @@ using Microsoft.Data.SqlServer;
|
|||
using Microsoft.Net.Runtime;
|
||||
using MusicStore.Logging;
|
||||
using MusicStore.Models;
|
||||
using MusicStore.Web.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
|
|
|
|||
Loading…
Reference in New Issue