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:
Praburaj 2014-04-29 16:37:56 -07:00
parent afdd2b4c3c
commit 49e0d42ce7
2 changed files with 829 additions and 812 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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;