From d1ac4298c29de45db0ac3392f787ade0ed32a81b Mon Sep 17 00:00:00 2001 From: ajcvickers Date: Wed, 12 Feb 2014 09:57:19 -0800 Subject: [PATCH] Drown your issues in Kool Aid (Updating K Music Store app to use EF/E API surface) This updates the K version of Music Store to use the updated Entity Framework API surface from the data repro. The changes made previously to the models and controllers in the full .NET version are also included here to bring both versions into line. The code is still non-functional as it was before. --- MusicStore.sln.DotSettings | 68 + .../Controllers/CheckoutController.cs | 86 +- src/MusicStore/Controllers/HomeController.cs | 39 +- .../Controllers/ShoppingCartController.cs | 91 +- src/MusicStore/Controllers/StoreController.cs | 57 +- .../Controllers/StoreManagerController.cs | 158 +- src/MusicStore/Models/Album.cs | 8 +- src/MusicStore/Models/Artist.cs | 6 +- src/MusicStore/Models/Cart.cs | 9 +- src/MusicStore/Models/Genre.cs | 10 +- src/MusicStore/Models/MusicStoreEntities.cs | 40 +- src/MusicStore/Models/Order.cs | 9 +- src/MusicStore/Models/SampleData.cs | 4193 +++++++++++++++-- src/MusicStore/Models/ShoppingCart.cs | 177 +- src/MusicStore/Stubs.cs | 26 +- .../ViewModels/ShoppingCartRemoveViewModel.cs | 14 +- .../ViewModels/ShoppingCartViewModel.cs | 8 +- src/MusicStore/project.json | 12 +- .../Controllers/AccountController.cs | 5 +- src/MvcMusicStore/Models/Artist.cs | 7 +- src/MvcMusicStore/Models/Genre.cs | 10 +- src/MvcMusicStore/Models/ShoppingCart.cs | 1 - 22 files changed, 4117 insertions(+), 917 deletions(-) create mode 100644 MusicStore.sln.DotSettings diff --git a/MusicStore.sln.DotSettings b/MusicStore.sln.DotSettings new file mode 100644 index 0000000000..420ee5ca3d --- /dev/null +++ b/MusicStore.sln.DotSettings @@ -0,0 +1,68 @@ + + + <?xml version="1.0" encoding="utf-16"?><Profile name="EntityFramework"><HtmlReformatCode>True</HtmlReformatCode><CSArrangeThisQualifier>True</CSArrangeThisQualifier><CSRemoveCodeRedundancies>True</CSRemoveCodeRedundancies><CSUseAutoProperty>True</CSUseAutoProperty><CSMakeFieldReadonly>True</CSMakeFieldReadonly><CSUseVar><BehavourStyle>CAN_CHANGE_TO_IMPLICIT</BehavourStyle><LocalVariableStyle>ALWAYS_IMPLICIT</LocalVariableStyle><ForeachVariableStyle>ALWAYS_IMPLICIT</ForeachVariableStyle></CSUseVar><CSOptimizeUsings><OptimizeUsings>True</OptimizeUsings><EmbraceInRegion>False</EmbraceInRegion><RegionName></RegionName></CSOptimizeUsings><CSShortenReferences>True</CSShortenReferences><CSReformatCode>True</CSReformatCode><XMLReformatCode>True</XMLReformatCode><CSUpdateFileHeader>True</CSUpdateFileHeader><CSharpFormatDocComments>True</CSharpFormatDocComments></Profile> + + EntityFramework + EntityFramework + False + False + False + SEPARATE + True + True + True + ALWAYS_ADD + ALWAYS_ADD + ALWAYS_ADD + ALWAYS_ADD + ALWAYS_ADD + ALWAYS_ADD + True + 1 + 1 + True + False + False + False + True + LINE_BREAK + False + True + False + True + True + True + True + True + 140 + CHOP_ALWAYS + True + + True + False + True + + True + + + + True + True + True + Side by side + Side by side + False + False + False + True + False + False + True + False + False + True + $object$_On$event$ + <Policy Inspect="True" Prefix="_" Suffix="" Style="aaBb" /> + $object$_On$event$ + True + True \ No newline at end of file diff --git a/src/MusicStore/Controllers/CheckoutController.cs b/src/MusicStore/Controllers/CheckoutController.cs index 1fa06c1417..efe366dc4e 100644 --- a/src/MusicStore/Controllers/CheckoutController.cs +++ b/src/MusicStore/Controllers/CheckoutController.cs @@ -1,87 +1,65 @@ using System; using System.Collections.Generic; -using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; using MvcMusicStore.Models; namespace MvcMusicStore.Controllers { - // [Authorize] + //[Authorize] public class CheckoutController : Controller { - MusicStoreEntities storeDB = new MusicStoreEntities(); - const string PromoCode = "FREE"; + private const string PromoCode = "FREE"; + + private readonly MusicStoreEntities _storeContext = new MusicStoreEntities(); - // // GET: /Checkout/ - public IActionResult AddressAndPayment() { return View(); } - // // POST: /Checkout/AddressAndPayment - - // [HttpPost] - public IActionResult AddressAndPayment(IDictionary values /*FormCollection values*/) + //[HttpPost] + public async Task AddressAndPayment(IDictionary values /*FormCollection values*/) { var order = new Order(); - // TryUpdateModel(order); + //TryUpdateModel(order); - try + if (//ModelState.IsValid && + string.Equals(values["PromoCode"], PromoCode, StringComparison.OrdinalIgnoreCase)) { - if (string.Equals(values["PromoCode"], PromoCode, - StringComparison.OrdinalIgnoreCase) == false) - { - return View(order); - } - else - { - // order.Username = User.Identity.Name; - order.OrderDate = DateTime.Now; + order.Username = "";//User.Identity.Name; + order.OrderDate = DateTime.Now; - //Add the Order - storeDB.Orders.Add(order); + _storeContext.Orders.Add(order); - //Process the order - var cart = ShoppingCart.GetCart(storeDB, this.Context); - cart.CreateOrder(order); + await ShoppingCart.GetCart(_storeContext, this).CreateOrder(order); - // Save all changes - storeDB.SaveChanges(); - - //return RedirectToAction("Complete", - // new { id = order.OrderId }); - return null; - } + await _storeContext.SaveChangesAsync(); + return null;//RedirectToAction("Complete", new { id = order.OrderId }); } - catch - { - //Invalid - redisplay with errors - return View(order); - } + + return View(order); } - // // GET: /Checkout/Complete - - public IActionResult Complete(int id) + public async Task Complete(int id) { - // Validate customer owns this order - bool isValid = storeDB.Orders.Any( - o => o.OrderId == id && - o.Username == /*User.Identity.Name*/ null); - - if (isValid) - { - return View(id); - } - else - { - return View("Error"); - } + return await _storeContext.Orders.AnyAsync(o => o.OrderId == id && o.Username == "")//User.Identity.Name) + ? View(id) + : View("Error"); } + + //protected override void Dispose(bool disposing) + //{ + // if (disposing) + // { + // _storeContext.Dispose(); + // } + // base.Dispose(disposing); + //} } } \ No newline at end of file diff --git a/src/MusicStore/Controllers/HomeController.cs b/src/MusicStore/Controllers/HomeController.cs index a7c16d52d1..889d6115dc 100644 --- a/src/MusicStore/Controllers/HomeController.cs +++ b/src/MusicStore/Controllers/HomeController.cs @@ -1,34 +1,31 @@ -using System.Collections.Generic; -using System.Linq; +using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; using MvcMusicStore.Models; namespace MvcMusicStore.Controllers { public class HomeController : Controller { - private MusicStoreEntities storeDB = new MusicStoreEntities(); - // + private readonly MusicStoreEntities _storeContext = new MusicStoreEntities(); + // GET: /Home/ - - public IActionResult Index() + public async Task Index() { - // Get most popular albums - var albums = GetTopSellingAlbums(6); - - return View(albums); - } - - - private List GetTopSellingAlbums(int count) - { - // Group the order details by album and return - // the albums with the highest count - - return storeDB.Albums + return View(await _storeContext.Albums .OrderByDescending(a => a.OrderDetails.Count()) - .Take(count) - .ToList(); + .Take(6) + .ToListAsync()); } + + //protected override void Dispose(bool disposing) + //{ + // if (disposing) + // { + // _storeContext.Dispose(); + // } + // base.Dispose(disposing); + //} } } \ No newline at end of file diff --git a/src/MusicStore/Controllers/ShoppingCartController.cs b/src/MusicStore/Controllers/ShoppingCartController.cs index 684f56ed48..b6c7aee4fe 100644 --- a/src/MusicStore/Controllers/ShoppingCartController.cs +++ b/src/MusicStore/Controllers/ShoppingCartController.cs @@ -1,5 +1,7 @@ using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; using MvcMusicStore.Models; using MvcMusicStore.ViewModels; @@ -7,76 +9,56 @@ namespace MvcMusicStore.Controllers { public class ShoppingCartController : Controller { - MusicStoreEntities storeDB = new MusicStoreEntities(); + private readonly MusicStoreEntities _storeContext = new MusicStoreEntities(); - // // GET: /ShoppingCart/ - - public IActionResult Index() + public async Task Index() { - var cart = ShoppingCart.GetCart(storeDB, this.Context); + var cart = ShoppingCart.GetCart(_storeContext, this); - // Set up our ViewModel var viewModel = new ShoppingCartViewModel { - CartItems = cart.GetCartItems(), - CartTotal = cart.GetTotal() + CartItems = await cart.GetCartItems().ToListAsync(), + CartTotal = await cart.GetTotal() }; - // Return the view return View(viewModel); } - // // GET: /ShoppingCart/AddToCart/5 - - public IActionResult AddToCart(int id) + public async Task AddToCart(int id) { + var cart = ShoppingCart.GetCart(_storeContext, this); - // Retrieve the album from the database - var addedAlbum = storeDB.Albums - .Single(album => album.AlbumId == id); + await cart.AddToCart(await _storeContext.Albums.SingleAsync(a => a.AlbumId == id)); - // Add it to the shopping cart - var cart = ShoppingCart.GetCart(storeDB, this.Context); + await _storeContext.SaveChangesAsync(); - cart.AddToCart(addedAlbum); - - storeDB.SaveChanges(); - - // Go back to the main store page for more shopping - // return RedirectToAction("Index"); - return null; + return null;//RedirectToAction("Index"); } - // // AJAX: /ShoppingCart/RemoveFromCart/5 - - // [HttpPost] - public IActionResult RemoveFromCart(int id) + //[HttpPost] + public async Task RemoveFromCart(int id) { - // Retrieve the current user's shopping cart - var cart = ShoppingCart.GetCart(storeDB, this.Context); + var cart = ShoppingCart.GetCart(_storeContext, this); - // Get the name of the album to display confirmation - string albumName = storeDB.Carts - .Single(item => item.RecordId == id).Album.Title; + var albumName = await _storeContext.Carts + .Where(i => i.RecordId == id) + .Select(i => i.Album.Title) + .SingleOrDefaultAsync(); - // Remove from cart - int itemCount = cart.RemoveFromCart(id); + var itemCount = await cart.RemoveFromCart(id); - storeDB.SaveChanges(); + await _storeContext.SaveChangesAsync(); - string removed = (itemCount > 0) ? " 1 copy of " : string.Empty; - - // Display the confirmation message + var removed = (itemCount > 0) ? " 1 copy of " : string.Empty; var results = new ShoppingCartRemoveViewModel { - Message = removed + albumName + - " has been removed from your shopping cart.", - CartTotal = cart.GetTotal(), - CartCount = cart.GetCount(), + Message = removed + albumName + " has been removed from your shopping cart.", + CartTotal = await cart.GetTotal(), + CartCount = await cart.GetCount(), ItemCount = itemCount, DeleteId = id }; @@ -84,20 +66,29 @@ namespace MvcMusicStore.Controllers return Result.Json(results); } - // [ChildActionOnly] + //[ChildActionOnly] public IActionResult CartSummary() { - var cart = ShoppingCart.GetCart(storeDB, this.Context); + var cart = ShoppingCart.GetCart(_storeContext, this); var cartItems = cart.GetCartItems() .Select(a => a.Album.Title) - .OrderBy(x => x); + .OrderBy(x => x) + .ToList(); - // ViewBag.CartCount = cartItems.Count(); - // ViewBag.CartSummary = string.Join("\n", cartItems.Distinct()); + ViewBag.CartCount = cartItems.Count(); + ViewBag.CartSummary = string.Join("\n", cartItems.Distinct()); - // return PartialView("CartSummary"); - return null; + return null;//PartialView("CartSummary"); } + + //protected override void Dispose(bool disposing) + //{ + // if (disposing) + // { + // _storeContext.Dispose(); + // } + // base.Dispose(disposing); + //} } } diff --git a/src/MusicStore/Controllers/StoreController.cs b/src/MusicStore/Controllers/StoreController.cs index 2db356663a..7bc5f734ed 100644 --- a/src/MusicStore/Controllers/StoreController.cs +++ b/src/MusicStore/Controllers/StoreController.cs @@ -1,58 +1,55 @@ -using MvcMusicStore.Models; -using System; -using System.Collections.Generic; -using System.Linq; - +using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; +using MvcMusicStore.Models; namespace MvcMusicStore.Controllers { public class StoreController : Controller { - MusicStoreEntities storeDB = new MusicStoreEntities(); - // + private readonly MusicStoreEntities _storeContext = new MusicStoreEntities(); + // GET: /Store/ - - public IActionResult Index() + public async Task Index() { - var genres = storeDB.Genres.ToList(); - - return View(genres); + return View(await _storeContext.Genres.ToListAsync()); } - - // // GET: /Store/Browse?genre=Disco - - public IActionResult Browse(string genre) + public async Task Browse(string genre) { - // Retrieve Genre genre and its Associated associated Albums albums from database - var genreModel = storeDB.Genres.Include("Albums") - .Single(g => g.Name == genre); - - return View(genreModel); + return View(await _storeContext.Genres.Include(e => e.Albums).SingleAsync(g => g.Name == genre)); } - public IActionResult Details(int id) + public async Task Details(int id) { - var album = storeDB.Albums.Find(id); + var album = await _storeContext.Albums.SingleOrDefaultAsync(a => a.AlbumId == id); - return View(album); + return album != null ? View(album) : (IActionResult)null;//HttpNotFound(); } - // [ChildActionOnly] + //[ChildActionOnly] public IActionResult GenreMenu() { - var genres = storeDB.Genres + var genres = _storeContext.Genres .OrderByDescending( g => g.Albums.Sum( - a => a.OrderDetails.Sum( - od => od.Quantity))) + a => a.OrderDetails.Sum( + od => od.Quantity))) .Take(9) .ToList(); - //return PartialView(genres); - return null; + return null; //PartialView(genres); } + + //protected override void Dispose(bool disposing) + //{ + // if (disposing) + // { + // _storeContext.Dispose(); + // } + // base.Dispose(disposing); + //} } } \ No newline at end of file diff --git a/src/MusicStore/Controllers/StoreManagerController.cs b/src/MusicStore/Controllers/StoreManagerController.cs index 623a9baa8e..cb75d57421 100644 --- a/src/MusicStore/Controllers/StoreManagerController.cs +++ b/src/MusicStore/Controllers/StoreManagerController.cs @@ -1,133 +1,141 @@ -using System; -using System.Collections.Generic; -using System.Linq; +using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; using MvcMusicStore.Models; namespace MvcMusicStore.Controllers { - // [Authorize(Roles = "Administrator")] + //[Authorize(Roles = "Administrator")] public class StoreManagerController : Controller { - private MusicStoreEntities db = new MusicStoreEntities(); + private readonly MusicStoreEntities _storeContext = new MusicStoreEntities(); - // // GET: /StoreManager/ - - public IActionResult Index() + public async Task Index() { - var albums = db.Albums.Include(a => a.Genre).Include(a => a.Artist) - .OrderBy(a => a.Price); - return View(albums.ToList()); + return View(await _storeContext.Albums + .Include(a => a.Genre) + .Include(a => a.Artist) + .OrderBy(a => a.Price).ToListAsync()); } - // // GET: /StoreManager/Details/5 - - public IActionResult Details(int id = 0) + public async Task Details(int id = 0) { - Album album = db.Albums.Find(id); + var album = await _storeContext.Albums.SingleOrDefaultAsync(e => e.AlbumId == id); + if (album == null) { - //return HttpNotFound(); - return null; + return null;//HttpNotFound(); } + return View(album); } - // // GET: /StoreManager/Create - - public IActionResult Create() + public async Task Create() { - //ViewBag.GenreId = new SelectList(db.Genres, "GenreId", "Name"); - //ViewBag.ArtistId = new SelectList(db.Artists, "ArtistId", "Name"); - return View(); + return await BuildView(null); } - // // POST: /StoreManager/Create - - // [HttpPost] - public IActionResult Create(Album album) + //[HttpPost] + public async Task Create(Album album) { - if (/*ModelState.IsValid*/true) + if (true)//ModelState.IsValid) { - db.Albums.Add(album); - db.SaveChanges(); - // return RedirectToAction("Index"); - return null; + _storeContext.Albums.Add(album); + + await _storeContext.SaveChangesAsync(); + + return null;//RedirectToAction("Index"); } - //ViewBag.GenreId = new SelectList(db.Genres, "GenreId", "Name", album.GenreId); - //ViewBag.ArtistId = new SelectList(db.Artists, "ArtistId", "Name", album.ArtistId); - return View(album); + return await BuildView(album); } - // // GET: /StoreManager/Edit/5 - - public IActionResult Edit(int id = 0) + public async Task Edit(int id = 0) { - Album album = db.Albums.Find(id); + var album = await _storeContext.Albums.SingleOrDefaultAsync(e => e.AlbumId == id); if (album == null) { - // return HttpNotFound(); - return null; + return null;//HttpNotFound(); } - //ViewBag.GenreId = new SelectList(db.Genres, "GenreId", "Name", album.GenreId); - //ViewBag.ArtistId = new SelectList(db.Artists, "ArtistId", "Name", album.ArtistId); - return View(album); + + return await BuildView(album); } - // // POST: /StoreManager/Edit/5 - - // [HttpPost] - public IActionResult Edit(Album album) + //[HttpPost] + public async Task Edit(Album album) { - //if (ModelState.IsValid) - //{ - // db.Entry(album).State = EntityState.Modified; - // db.SaveChanges(); - // return RedirectToAction("Index"); - //} - //ViewBag.GenreId = new SelectList(db.Genres, "GenreId", "Name", album.GenreId); - //ViewBag.ArtistId = new SelectList(db.Artists, "ArtistId", "Name", album.ArtistId); - return View(album); + if (true)//ModelState.IsValid) + { + _storeContext.Albums.Update(album); + + await _storeContext.SaveChangesAsync(); + + return null;//RedirectToAction("Index"); + } + + return await BuildView(album); } - // // GET: /StoreManager/Delete/5 - - public IActionResult Delete(int id = 0) + public async Task Delete(int id = 0) { - Album album = db.Albums.Find(id); + var album = await _storeContext.Albums.SingleOrDefaultAsync(e => e.AlbumId == id); if (album == null) { - // return HttpNotFound(); - return null; + return null;//HttpNotFound(); } + return View(album); } - // // POST: /StoreManager/Delete/5 - - // [HttpPost, ActionName("Delete")] - public IActionResult DeleteConfirmed(int id) + //[HttpPost, ActionName("Delete")] + public async Task DeleteConfirmed(int id) { - Album album = db.Albums.Find(id); - db.Albums.Remove(album); - db.SaveChanges(); - // return RedirectToAction("Index"); - return null; + var album = await _storeContext.Albums.SingleOrDefaultAsync(e => e.AlbumId == id); + if (album == null) + { + return null;//HttpNotFound(); + } + + _storeContext.Albums.Remove(album); + + await _storeContext.SaveChangesAsync(); + + return null;//RedirectToAction("Index"); } - protected /*override*/ void Dispose(bool disposing) + private async Task BuildView(Album album) { - db.Dispose(); - // base.Dispose(disposing); + //ViewBag.GenreId = new SelectList( + // await _storeContext.Genres.ToListAsync(), + // "GenreId", + // "Name", + // album == null ? null : (object)album.GenreId); + + //ViewBag.ArtistId = new SelectList( + // await _storeContext.Artists.ToListAsync(), + // "ArtistId", + // "Name", + // album == null ? null : (object)album.ArtistId); + + return View(album); } + + //protected override void Dispose(bool disposing) + //{ + // if (disposing) + // { + // _storeContext.Dispose(); + // } + // base.Dispose(disposing); + //} } } \ No newline at end of file diff --git a/src/MusicStore/Models/Album.cs b/src/MusicStore/Models/Album.cs index c205e78566..1075586a8d 100644 --- a/src/MusicStore/Models/Album.cs +++ b/src/MusicStore/Models/Album.cs @@ -1,26 +1,22 @@ using System.Collections.Generic; -using System.ComponentModel; -// using System.ComponentModel.DataAnnotations; namespace MvcMusicStore.Models { public class Album { //[ScaffoldColumn(false)] - public int AlbumId { get; set; } public int GenreId { get; set; } public int ArtistId { get; set; } - // [Required] - // [StringLength(160, MinimumLength = 2)] + //[Required] + //[StringLength(160, MinimumLength = 2)] public string Title { get; set; } //[Required] //[Range(0.01, 100.00)] - //[DataType(DataType.Currency)] public decimal Price { get; set; } diff --git a/src/MusicStore/Models/Artist.cs b/src/MusicStore/Models/Artist.cs index 54584a5b31..156675c034 100644 --- a/src/MusicStore/Models/Artist.cs +++ b/src/MusicStore/Models/Artist.cs @@ -1,8 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; - -namespace MvcMusicStore.Models +namespace MvcMusicStore.Models { public class Artist { diff --git a/src/MusicStore/Models/Cart.cs b/src/MusicStore/Models/Cart.cs index e2732058a9..9f6727eae6 100644 --- a/src/MusicStore/Models/Cart.cs +++ b/src/MusicStore/Models/Cart.cs @@ -1,19 +1,18 @@ using System; -//using System.ComponentModel.DataAnnotations; namespace MvcMusicStore.Models { public class Cart { //[Key] - public int RecordId { get; set; } + public int RecordId { get; set; } public string CartId { get; set; } - public int AlbumId { get; set; } - public int Count { get; set; } + public int AlbumId { get; set; } + public int Count { get; set; } //[DataType(DataType.DateTime)] public DateTime DateCreated { get; set; } - public virtual Album Album { get; set; } + public virtual Album Album { get; set; } } } \ No newline at end of file diff --git a/src/MusicStore/Models/Genre.cs b/src/MusicStore/Models/Genre.cs index f9c4a05264..d2e61f4e4a 100644 --- a/src/MusicStore/Models/Genre.cs +++ b/src/MusicStore/Models/Genre.cs @@ -2,11 +2,11 @@ namespace MvcMusicStore.Models { - public class Genre + public class Genre { - public int GenreId { get; set; } - public string Name { get; set; } - public string Description { get; set; } - public List Albums { get; set; } + public int GenreId { get; set; } + public string Name { get; set; } + public string Description { get; set; } + public List Albums { get; set; } } } diff --git a/src/MusicStore/Models/MusicStoreEntities.cs b/src/MusicStore/Models/MusicStoreEntities.cs index aabe36b7db..6490a06408 100644 --- a/src/MusicStore/Models/MusicStoreEntities.cs +++ b/src/MusicStore/Models/MusicStoreEntities.cs @@ -1,40 +1,18 @@ -using System; -using System.Collections.Generic; +using Microsoft.Data.Entity; namespace MvcMusicStore.Models { - //public class MusicStoreEntities : DbContext - //{ - // public DbSet Albums { get; set; } - // public DbSet Genres { get; set; } - // public DbSet Artists { get; set; } - // public DbSet Carts { get; set; } - // public DbSet Orders { get; set; } - // public DbSet OrderDetails { get; set; } - //} - - public class MusicStoreEntities : IDisposable + public class MusicStoreEntities : EntityContext { - public List Albums { get; set; } - public List Genres { get; set; } - public List Artists { get; set; } - public List Carts { get; set; } - public List Orders { get; set; } - public List OrderDetails { get; set; } - - public void SaveChanges() + public MusicStoreEntities() + : base(null) // TODO: Fix after discussion of which patterns to use here { - throw new NotImplementedException(); } - public void Dispose() - { - throw new NotImplementedException(); - } - - internal object Entry(Album album) - { - throw new NotImplementedException(); - } + public EntitySet Albums { get; set; } + public EntitySet Genres { get; set; } + public EntitySet Artists { get; set; } + public EntitySet Carts { get; set; } + public EntitySet Orders { get; set; } } } \ No newline at end of file diff --git a/src/MusicStore/Models/Order.cs b/src/MusicStore/Models/Order.cs index 49a3ab409a..4cf918fccd 100644 --- a/src/MusicStore/Models/Order.cs +++ b/src/MusicStore/Models/Order.cs @@ -1,12 +1,15 @@ using System.Collections.Generic; -using System.ComponentModel; -//using System.ComponentModel.DataAnnotations; namespace MvcMusicStore.Models { //[Bind(Include = "FirstName,LastName,Address,City,State,PostalCode,Country,Phone,Email")] public class Order { + public Order() + { + OrderDetails = new List(); + } + //[ScaffoldColumn(false)] public int OrderId { get; set; } @@ -59,7 +62,7 @@ namespace MvcMusicStore.Models //[DataType(DataType.EmailAddress)] public string Email { get; set; } - // [ScaffoldColumn(false)] + //[ScaffoldColumn(false)] public decimal Total { get; set; } public List OrderDetails { get; set; } diff --git a/src/MusicStore/Models/SampleData.cs b/src/MusicStore/Models/SampleData.cs index 4e2f3638a6..7055afe350 100644 --- a/src/MusicStore/Models/SampleData.cs +++ b/src/MusicStore/Models/SampleData.cs @@ -1,486 +1,3726 @@ -using System; -using System.Collections.Generic; +using System.Collections.Generic; using System.Linq; namespace MvcMusicStore.Models { - public class SampleData //: DropCreateDatabaseIfModelChanges + public class SampleData { - protected /*override*/ void Seed(MusicStoreEntities context) + public void Seed(MusicStoreEntities context) { const string imgUrl = "~/Images/placeholder.png"; - var genres = AddGenres(context); - var artists = AddArtists(context); - AddAlbums(context, imgUrl, genres, artists); + AddAlbums(context, imgUrl, AddGenres(context), AddArtists(context)); - // context.SaveChanges(); + context.SaveChanges(); } - private static void AddAlbums(MusicStoreEntities context, string imgUrl, List genres, List artists) + private static void AddAlbums( + MusicStoreEntities context, + string imgUrl, + List genres, + List artists) { - context.Albums.Add(new Album { Title = "The Best Of The Men At Work", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Men At Work"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "...And Justice For All", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "עד גבול האור", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "אריק אינשטיין"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Black Light Syndrome", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Terry Bozzio, Tony Levin & Steve Stevens"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "10,000 Days", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tool"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "11i", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Supreme Beings of Leisure"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "1960", Genre = genres.Single(g => g.Name == "Indie"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Soul-Junk"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "4x4=12 ", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "deadmau5"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Copland Celebration, Vol. I", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "London Symphony Orchestra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Lively Mind", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paul Oakenfold"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Matter of Life and Death", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Real Dead One", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Real Live One", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Rush of Blood to the Head", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Coldplay"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Soprano Inspired", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Britten Sinfonia, Ivor Bolton & Lesley Garrett"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A Winter Symphony", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Abbey Road", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Beatles"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ace Of Spades", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Motörhead"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Achtung Baby", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Acústico MTV", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Adams, John: The Chairman Dances", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Edo de Waart & San Francisco Symphony"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Adrenaline", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deftones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ænima", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tool"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Afrociberdelia", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chico Science & Nação Zumbi"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "After the Goldrush", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Neil Young"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Airdrawn Dagger", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sasha"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Album Title Goes Here", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "deadmau5"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Alcohol Fueled Brewtality Live! [Disc 1]", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Black Label Society"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Alcohol Fueled Brewtality Live! [Disc 2]", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Black Label Society"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Alive 2007", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Daft Punk"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "All I Ask of You", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Amen (So Be It)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paddy Casey"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Animal Vehicle", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Axis of Awesome"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ao Vivo [IMPORT]", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Zeca Pagodinho"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Apocalyptic Love", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Slash"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Appetite for Destruction", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Guns N' Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Are You Experienced?", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jimi Hendrix"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Arquivo II", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Arquivo Os Paralamas Do Sucesso", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "A-Sides", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Soundgarden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Audioslave", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Audioslave"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Automatic for the People", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "R.E.M."), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Axé Bahia 2001", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Various Artists"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Babel", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Mumford & Sons"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bach: Goldberg Variations", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Wilhelm Kempff"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bach: The Brandenburg Concertos", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Orchestra of The Age of Enlightenment"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bach: The Cello Suites", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Yo-Yo Ma"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bach: Toccata & Fugue in D Minor", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ton Koopman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bad Motorfinger", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Soundgarden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Balls to the Wall", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Accept"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Banadeek Ta'ala", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Amr Diab"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Barbie Girl", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Aqua"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bark at the Moon (Remastered)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bartok: Violin & Viola Concertos", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Yehudi Menuhin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Barulhinho Bom", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Marisa Monte"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "BBC Sessions [Disc 1] [Live]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "BBC Sessions [Disc 2] [Live]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Be Here Now", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Oasis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bedrock 11 Compiled & Mixed", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "John Digweed"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Berlioz: Symphonie Fantastique", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Michael Tilson Thomas"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Beyond Good And Evil", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Cult"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Big Bad Wolf ", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Armand Van Helden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Big Ones", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Aerosmith"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Black Album", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Black Sabbath Vol. 4 (Remaster)", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Black Sabbath"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Black Sabbath", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Black Sabbath"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Black", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Blackwater Park", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Opeth"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Blizzard of Ozz", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Blood", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "In This Moment"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Blue Moods", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Incognito"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Blue", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Weezer"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bongo Fury", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Frank Zappa & Captain Beefheart"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Boys & Girls", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alabama Shakes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Brave New World", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "B-Sides 1980-1990", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Bunkka", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paul Oakenfold"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "By The Way", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Red Hot Chili Peppers"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cake: B-Sides and Rarities", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cake"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Californication", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Red Hot Chili Peppers"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Carmina Burana", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Boston Symphony Orchestra & Seiji Ozawa"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Carried to Dust (Bonus Track Version)", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Calexico"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Carry On", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chris Cornell"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cássia Eller - Sem Limite [Disc 1]", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cássia Eller"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chemical Wedding", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Bruce Dickinson"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chill: Brazil (Disc 1)", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Marcos Valle"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chill: Brazil (Disc 2)", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Antônio Carlos Jobim"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chocolate Starfish And The Hot Dog Flavored Water", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Limp Bizkit"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chronicle, Vol. 1", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Creedence Clearwater Revival"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Chronicle, Vol. 2", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Creedence Clearwater Revival"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ciao, Baby", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "TheStart"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cidade Negra - Hits", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cidade Negra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Classic Munkle: Turbo Edition", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Munkle"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Classics: The Best of Sarah Brightman", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Coda", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Come Away With Me", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Norah Jones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Come Taste The Band", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Comfort Eagle", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cake"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Common Reaction", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Uh Huh Her "), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Compositores", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "O Terço"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Contraband", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Velvet Revolver"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Core", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Stone Temple Pilots"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cornerstone", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Styx"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cosmicolor", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "M-Flo"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Cross", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Justice"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Culture of Fear", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Thievery Corporation"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Da Lama Ao Caos", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chico Science & Nação Zumbi"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Dakshina", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deva Premal"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Dark Side of the Moon", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pink Floyd"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Death Magnetic", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Deep End of Down", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Above the Fold"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Deep Purple In Rock", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Deixa Entrar", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Falamansa"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Deja Vu", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Crosby, Stills, Nash, and Young"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Di Korpu Ku Alma", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Lura"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Diary of a Madman (Remastered)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Diary of a Madman", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Dirt", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alice in Chains"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Diver Down", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Van Halen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Djavan Ao Vivo - Vol. 02", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Djavan"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Djavan Ao Vivo - Vol. 1", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Djavan"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Drum'n'bass for Papa", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Plug"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Duluth", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Trampled By Turtles"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Dummy", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Portishead"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Duos II", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Luciana Souza/Romero Lubambo"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Earl Scruggs and Friends", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Earl Scruggs"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Eden", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "El Camino", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Black Keys"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Elegant Gypsy", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Al di Meola"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Elements Of Life", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tiësto"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Elis Regina-Minha História", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Elis Regina"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Emergency On Planet Earth", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jamiroquai"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Emotion", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Papa Wemba"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "English Renaissance", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The King's Singers"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Every Kind of Light", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Posies"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Faceless", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Godsmack"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Facelift", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alice in Chains"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Fair Warning", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Van Halen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Fear of a Black Planet", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Public Enemy"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Fear Of The Dark", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Feels Like Home", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Norah Jones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Fireball", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Fly", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "For Those About To Rock We Salute You", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "AC/DC"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Four", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Blues Traveler"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Frank", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Amy Winehouse"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Further Down the Spiral", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nine Inch Nails"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Garage Inc. (Disc 1)", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Garage Inc. (Disc 2)", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Garbage", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Garbage"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Good News For People Who Love Bad News", Genre = genres.Single(g => g.Name == "Indie"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Modest Mouse"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Gordon", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Barenaked Ladies"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Górecki: Symphony No. 3", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Adrian Leaper & Doreen de Feis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Hits I", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Queen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Hits II", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Queen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Hits", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Duck Sauce"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Hits", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Lenny Kravitz"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Hits", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Lenny Kravitz"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greatest Kiss", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Kiss"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Greetings from Michigan", Genre = genres.Single(g => g.Name == "Indie"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sufjan Stevens"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Group Therapy", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Above & Beyond"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Handel: The Messiah (Highlights)", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Scholars Baroque Ensemble"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Haydn: Symphonies 99 - 104", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Royal Philharmonic Orchestra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Heart of the Night", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Spyro Gyra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Heart On", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Eagles of Death Metal"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Holy Diver", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dio"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Homework", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Daft Punk"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Hot Rocks, 1964-1971 (Disc 1)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Rolling Stones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Houses Of The Holy", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "How To Dismantle An Atomic Bomb", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Human", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Projected"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Hunky Dory", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "David Bowie"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Hymns", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Projected"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Hysteria", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Def Leppard"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Absentia", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Porcupine Tree"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Between", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paul Van Dyk"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Rainbows", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Radiohead"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Step", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Stevie Ray Vaughan & Double Trouble"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In the court of the Crimson King", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "King Crimson"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Through The Out Door", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Your Honor [Disc 1]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Foo Fighters"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "In Your Honor [Disc 2]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Foo Fighters"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Indestructible", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Rancid"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Infinity", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Journey"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Into The Light", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "David Coverdale"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Introspective", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pet Shop Boys"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Iron Maiden", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "ISAM", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Amon Tobin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "IV", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Jagged Little Pill", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alanis Morissette"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Jagged Little Pill", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alanis Morissette"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Jorge Ben Jor 25 Anos", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jorge Ben"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Jota Quest-1995", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jota Quest"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Kick", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "INXS"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Kill 'Em All", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Kind of Blue", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Miles Davis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "King For A Day Fool For A Lifetime", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Faith No More"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Kiss", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Carly Rae Jepsen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Last Call", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cayouche"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Le Freak", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chic"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Le Tigre", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Le Tigre"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Led Zeppelin I", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Led Zeppelin II", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Led Zeppelin III", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Let There Be Rock", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "AC/DC"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Little Earthquakes", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tori Amos"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live [Disc 1]", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Black Crowes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live [Disc 2]", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Black Crowes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live After Death", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live At Donington 1992 (Disc 1)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live At Donington 1992 (Disc 2)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live on Earth", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Cat Empire"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Live On Two Legs [Live]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pearl Jam"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Living After Midnight", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Judas Priest"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Living", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paddy Casey"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Load", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Love Changes Everything", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "MacArthur Park Suite", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Donna Summer"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Machine Head", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Magical Mystery Tour", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Beatles"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mais Do Mesmo", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Legião Urbana"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Maquinarama", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Skank"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Marasim", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jagjit Singh"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mascagni: Cavalleria Rusticana", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "James Levine"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Master of Puppets", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mechanics & Mathematics", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Venus Hum"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mental Jewelry", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Live"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Metallics", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "meteora", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Linkin Park"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Meus Momentos", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Gonzaguinha"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mezmerize", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "System Of A Down"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mezzanine", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Massive Attack"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Miles Ahead", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Miles Davis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Milton Nascimento Ao Vivo", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Milton Nascimento"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Minas", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Milton Nascimento"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Minha Historia", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chico Buarque"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Misplaced Childhood", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Marillion"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "MK III The Final Concerts [Disc 1]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Morning Dance", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Spyro Gyra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Motley Crue Greatest Hits", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Mötley Crüe"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Moving Pictures", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Rush"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mozart: Chamber Music", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nash Ensemble"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Mozart: Symphonies Nos. 40 & 41", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Berliner Philharmoniker"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Murder Ballads", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nick Cave and the Bad Seeds"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Music For The Jilted Generation", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Prodigy"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "My Generation - The Very Best Of The Who", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Who"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "My Name is Skrillex", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Skrillex"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Na Pista", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Cláudio Zoli"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Nevermind", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nirvana"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "New Adventures In Hi-Fi", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "R.E.M."), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "New Divide", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Linkin Park"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "New York Dolls", Genre = genres.Single(g => g.Name == "Punk"), Price = 8.99M, Artist = artists.Single(a => a.Name == "New York Dolls"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "News Of The World", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Queen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Nielsen: The Six Symphonies", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Göteborgs Symfoniker & Neeme Järvi"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Night At The Opera", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Queen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Night Castle", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Trans-Siberian Orchestra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Nkolo", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Lokua Kanza"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "No More Tears (Remastered)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "No Prayer For The Dying", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "No Security", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Rolling Stones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "O Brother, Where Art Thou?", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Alison Krauss"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "O Samba Poconé", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Skank"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "O(+>", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Prince"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Oceania", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Smashing Pumpkins"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Off the Deep End", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Weird Al"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "OK Computer", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Radiohead"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Olodum", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Olodum"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "One Love", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "David Guetta"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Operation: Mindcrime", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Queensrÿche"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Opiate", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tool"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Outbreak", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dennis Chambers"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Pachelbel: Canon & Gigue", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "English Concert & Trevor Pinnock"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Paid in Full", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eric B. and Rakim"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Para Siempre", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Vicente Fernandez"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Pause", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Four Tet"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Peace Sells... but Who's Buying", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Megadeth"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Physical Graffiti [Disc 1]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Physical Graffiti [Disc 2]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Physical Graffiti", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Piece Of Mind", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Pinkerton", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Weezer"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Plays Metallica By Four Cellos", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Apocalyptica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Pop", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Powerslave", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Prenda Minha", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Caetano Veloso"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Presence", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Pretty Hate Machine", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nine Inch Nails"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Prisoner", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Jezabels"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Privateering", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Mark Knopfler"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Prokofiev: Romeo & Juliet", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Michael Tilson Thomas"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Prokofiev: Symphony No.1", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sergei Prokofiev & Yuri Temirkanov"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "PSY's Best 6th Part 1", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "PSY"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Purcell: The Fairy Queen", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "London Classical Players"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Purpendicular", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Purple", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Stone Temple Pilots"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Quanta Gente Veio Ver (Live)", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Gilberto Gil"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Quanta Gente Veio ver--Bônus De Carnaval", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Gilberto Gil"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Quiet Songs", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Aisha Duo"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Raices", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Los Tigres del Norte"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Raising Hell", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Run DMC"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Raoul and the Kings of Spain ", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tears For Fears"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rattle And Hum", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Raul Seixas", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Raul Seixas"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Recovery [Explicit]", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eminem"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Reign In Blood", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Slayer"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Relayed", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Yes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "ReLoad", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Respighi:Pines of Rome", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eugene Ormandy"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Restless and Wild", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Accept"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Retrospective I (1974-1980)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Rush"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Revelations", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Audioslave"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Revolver", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Beatles"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ride the Lighting ", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ride The Lightning", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ring My Bell", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Anita Ward"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Riot Act", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pearl Jam"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rise of the Phoenix", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Before the Dawn"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rock In Rio [CD1]", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rock In Rio [CD2]", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rock In Rio [CD2]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Roda De Funk", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Funk Como Le Gusta"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Room for Squares", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "John Mayer"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Root Down", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jimmy Smith"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rounds", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Four Tet"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rubber Factory", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Black Keys"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Rust in Peace", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Megadeth"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Sambas De Enredo 2001", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Various Artists"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Santana - As Years Go By", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Santana"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Santana Live", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Santana"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Saturday Night Fever", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Bee Gees"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Scary Monsters and Nice Sprites", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Skrillex"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Scheherazade", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chicago Symphony Orchestra & Fritz Reiner"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "SCRIABIN: Vers la flamme", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Christopher O'Riley"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Second Coming", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Stone Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Serie Sem Limite (Disc 1)", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tim Maia"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Serie Sem Limite (Disc 2)", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tim Maia"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Serious About Men", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Rubberbandits"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Seventh Son of a Seventh Son", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Short Bus", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Filter"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Sibelius: Finlandia", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Berliner Philharmoniker"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Singles Collection", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "David Bowie"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Six Degrees of Inner Turbulence", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dream Theater"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Slave To The Empire", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "T&N"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Slaves And Masters", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Slouching Towards Bethlehem", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Robert James"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Smash", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Offspring"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Something Special", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dolly Parton"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Somewhere in Time", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Song(s) You Know By Heart", Genre = genres.Single(g => g.Name == "Country"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Jimmy Buffett"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Sound of Music", Genre = genres.Single(g => g.Name == "Punk"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Adicts"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "South American Getaway", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The 12 Cellists of The Berlin Philharmonic"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Sozinho Remix Ao Vivo", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Caetano Veloso"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Speak of the Devil", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Spiritual State", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nujabes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "St. Anger", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Metallica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Still Life", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Opeth"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Stop Making Sense", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Talking Heads"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Stormbringer", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Stranger than Fiction", Genre = genres.Single(g => g.Name == "Punk"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Bad Religion"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Strauss: Waltzes", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eugene Ormandy"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Supermodified", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Amon Tobin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Supernatural", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Santana"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Surfing with the Alien (Remastered)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Joe Satriani"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Switched-On Bach", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Wendy Carlos"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Symphony", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Szymanowski: Piano Works, Vol. 1", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Martin Roscoe"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Tchaikovsky: The Nutcracker", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "London Symphony Orchestra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ted Nugent", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ted Nugent"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Teflon Don", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Rick Ross"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Tell Another Joke at the Ol' Choppin' Block", Genre = genres.Single(g => g.Name == "Indie"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Danielson Famile"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Temple of the Dog", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Temple of the Dog"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Ten", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pearl Jam"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Texas Flood", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Stevie Ray Vaughan"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Battle Rages On", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Beast Live", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Paul D'Ianno"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best Of 1980-1990", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best of 1990–2000", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best of Beethoven", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Nicolaus Esterhazy Sinfonia"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best Of Billy Cobham", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Billy Cobham"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best of Ed Motta", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ed Motta"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Best Of Van Halen, Vol. I", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Van Halen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Bridge", Genre = genres.Single(g => g.Name == "R&B"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Melanie Fiona"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Cage", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tygers of Pan Tang"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Chicago Transit Authority", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Chicago "), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Chronic", Genre = genres.Single(g => g.Name == "Rap"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dr. Dre"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Colour And The Shape", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Foo Fighters"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Crane Wife", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Decemberists"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Cream Of Clapton", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eric Clapton"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Cure", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Cure"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Dark Side Of The Moon", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pink Floyd"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Divine Conspiracy", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Epica"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Doors", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Doors"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Dream of the Blue Turtles", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sting"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Essential Miles Davis [Disc 1]", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Miles Davis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Essential Miles Davis [Disc 2]", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Miles Davis"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Final Concerts (Disc 2)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deep Purple"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Final Frontier", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Head and the Heart", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Head and the Heart"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Joshua Tree", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Last Night of the Proms", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "BBC Concert Orchestra"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Lumineers", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Lumineers"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Number of The Beast", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Number of The Beast", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Police Greatest Hits", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Police"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Song Remains The Same (Disc 1)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Song Remains The Same (Disc 2)", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Southern Harmony and Musical Companion", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Black Crowes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Spade", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Butch Walker & The Black Widows"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Stone Roses", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Stone Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Suburbs", Genre = genres.Single(g => g.Name == "Indie"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Arcade Fire"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Three Tenors Disc1/Disc2", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Carreras, Pavarotti, Domingo"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Trees They Grow So High", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The Wall", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pink Floyd"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "The X Factor", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Them Crooked Vultures", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Them Crooked Vultures"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "This Is Happening", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "LCD Soundsystem"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Thunder, Lightning, Strike", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Go! Team"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Time to Say Goodbye", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sarah Brightman"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Time, Love & Tenderness", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Michael Bolton"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Tomorrow Starts Today", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Mobile"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Tribute", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Tuesday Night Music Club", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sheryl Crow"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Umoja", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "BLØF"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Under the Pink", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tori Amos"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Undertow", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Tool"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Un-Led-Ed", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Dread Zeppelin"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Unplugged [Live]", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Kiss"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Unplugged", Genre = genres.Single(g => g.Name == "Blues"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eric Clapton"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Unplugged", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Eric Clapton"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Untrue", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Burial"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Use Your Illusion I", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Guns N' Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Use Your Illusion II", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Guns N' Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Use Your Illusion II", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Guns N' Roses"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Van Halen III", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Van Halen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Van Halen", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Van Halen"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Version 2.0", Genre = genres.Single(g => g.Name == "Alternative"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Garbage"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Vinicius De Moraes", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Vinícius De Moraes"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Virtual XI", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Iron Maiden"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Voodoo Lounge", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Rolling Stones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Vozes do MPB", Genre = genres.Single(g => g.Name == "Latin"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Various Artists"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Vs.", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pearl Jam"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Wagner: Favourite Overtures", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sir Georg Solti & Wiener Philharmoniker"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Walking Into Clarksdale", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Page & Plant"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Wapi Yo", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Lokua Kanza"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "War", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Warner 25 Anos", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Antônio Carlos Jobim"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Wasteland R&Btheque", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Raunchy"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Watermark", Genre = genres.Single(g => g.Name == "Electronic"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Enya"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "We Were Exploding Anyway", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "65daysofstatic"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Weill: The Seven Deadly Sins", Genre = genres.Single(g => g.Name == "Classical"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Orchestre de l'Opéra de Lyon"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "White Pony", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Deftones"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Who's Next", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Who"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Wish You Were Here", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Pink Floyd"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "With Oden on Our Side", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Amon Amarth"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Worlds", Genre = genres.Single(g => g.Name == "Jazz"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Aaron Goldberg"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Worship Music", Genre = genres.Single(g => g.Name == "Metal"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Anthrax"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "X&Y", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Coldplay"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Xinti", Genre = genres.Single(g => g.Name == "World"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Sara Tavares"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Yano", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Yano"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Yesterday Once More Disc 1/Disc 2", Genre = genres.Single(g => g.Name == "Pop"), Price = 8.99M, Artist = artists.Single(a => a.Name == "The Carpenters"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Zooropa", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "U2"), AlbumArtUrl = imgUrl }); - context.Albums.Add(new Album { Title = "Zoso", Genre = genres.Single(g => g.Name == "Rock"), Price = 8.99M, Artist = artists.Single(a => a.Name == "Led Zeppelin"), AlbumArtUrl = imgUrl }); + var albums = new List + { + new Album + { + Title = "The Best Of The Men At Work", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Men At Work"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "...And Justice For All", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "עד גבול האור", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "אריק אינשטיין"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Black Light Syndrome", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Terry Bozzio, Tony Levin & Steve Stevens"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "10,000 Days", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tool"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "11i", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Supreme Beings of Leisure"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "1960", + Genre = genres.Single(g => g.Name == "Indie"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Soul-Junk"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "4x4=12 ", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "deadmau5"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Copland Celebration, Vol. I", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "London Symphony Orchestra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Lively Mind", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paul Oakenfold"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Matter of Life and Death", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Real Dead One", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Real Live One", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Rush of Blood to the Head", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Coldplay"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Soprano Inspired", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Britten Sinfonia, Ivor Bolton & Lesley Garrett"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A Winter Symphony", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Abbey Road", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Beatles"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ace Of Spades", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Motörhead"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Achtung Baby", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Acústico MTV", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Adams, John: The Chairman Dances", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Edo de Waart & San Francisco Symphony"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Adrenaline", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deftones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ænima", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tool"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Afrociberdelia", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chico Science & Nação Zumbi"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "After the Goldrush", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Neil Young"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Airdrawn Dagger", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sasha"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Album Title Goes Here", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "deadmau5"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Alcohol Fueled Brewtality Live! [Disc 1]", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Black Label Society"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Alcohol Fueled Brewtality Live! [Disc 2]", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Black Label Society"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Alive 2007", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Daft Punk"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "All I Ask of You", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Amen (So Be It)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paddy Casey"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Animal Vehicle", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Axis of Awesome"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ao Vivo [IMPORT]", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Zeca Pagodinho"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Apocalyptic Love", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Slash"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Appetite for Destruction", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Guns N' Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Are You Experienced?", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jimi Hendrix"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Arquivo II", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Arquivo Os Paralamas Do Sucesso", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Os Paralamas Do Sucesso"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "A-Sides", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Soundgarden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Audioslave", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Audioslave"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Automatic for the People", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "R.E.M."), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Axé Bahia 2001", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Various Artists"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Babel", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Mumford & Sons"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bach: Goldberg Variations", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Wilhelm Kempff"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bach: The Brandenburg Concertos", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Orchestra of The Age of Enlightenment"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bach: The Cello Suites", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Yo-Yo Ma"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bach: Toccata & Fugue in D Minor", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ton Koopman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bad Motorfinger", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Soundgarden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Balls to the Wall", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Accept"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Banadeek Ta'ala", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Amr Diab"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Barbie Girl", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Aqua"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bark at the Moon (Remastered)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bartok: Violin & Viola Concertos", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Yehudi Menuhin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Barulhinho Bom", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Marisa Monte"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "BBC Sessions [Disc 1] [Live]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "BBC Sessions [Disc 2] [Live]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Be Here Now", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Oasis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bedrock 11 Compiled & Mixed", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "John Digweed"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Berlioz: Symphonie Fantastique", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Michael Tilson Thomas"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Beyond Good And Evil", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Cult"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Big Bad Wolf ", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Armand Van Helden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Big Ones", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Aerosmith"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Black Album", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Black Sabbath Vol. 4 (Remaster)", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Black Sabbath"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Black Sabbath", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Black Sabbath"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Black", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Blackwater Park", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Opeth"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Blizzard of Ozz", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Blood", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "In This Moment"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Blue Moods", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Incognito"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Blue", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Weezer"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bongo Fury", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Frank Zappa & Captain Beefheart"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Boys & Girls", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alabama Shakes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Brave New World", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "B-Sides 1980-1990", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Bunkka", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paul Oakenfold"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "By The Way", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Red Hot Chili Peppers"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cake: B-Sides and Rarities", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cake"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Californication", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Red Hot Chili Peppers"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Carmina Burana", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Boston Symphony Orchestra & Seiji Ozawa"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Carried to Dust (Bonus Track Version)", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Calexico"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Carry On", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chris Cornell"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cássia Eller - Sem Limite [Disc 1]", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cássia Eller"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chemical Wedding", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Bruce Dickinson"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chill: Brazil (Disc 1)", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Marcos Valle"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chill: Brazil (Disc 2)", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Antônio Carlos Jobim"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chocolate Starfish And The Hot Dog Flavored Water", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Limp Bizkit"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chronicle, Vol. 1", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Creedence Clearwater Revival"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Chronicle, Vol. 2", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Creedence Clearwater Revival"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ciao, Baby", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "TheStart"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cidade Negra - Hits", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cidade Negra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Classic Munkle: Turbo Edition", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Munkle"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Classics: The Best of Sarah Brightman", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Coda", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Come Away With Me", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Norah Jones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Come Taste The Band", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Comfort Eagle", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cake"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Common Reaction", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Uh Huh Her "), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Compositores", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "O Terço"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Contraband", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Velvet Revolver"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Core", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Stone Temple Pilots"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cornerstone", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Styx"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cosmicolor", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "M-Flo"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Cross", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Justice"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Culture of Fear", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Thievery Corporation"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Da Lama Ao Caos", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chico Science & Nação Zumbi"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Dakshina", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deva Premal"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Dark Side of the Moon", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pink Floyd"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Death Magnetic", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Deep End of Down", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Above the Fold"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Deep Purple In Rock", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Deixa Entrar", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Falamansa"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Deja Vu", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Crosby, Stills, Nash, and Young"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Di Korpu Ku Alma", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Lura"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Diary of a Madman (Remastered)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Diary of a Madman", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Dirt", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alice in Chains"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Diver Down", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Van Halen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Djavan Ao Vivo - Vol. 02", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Djavan"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Djavan Ao Vivo - Vol. 1", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Djavan"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Drum'n'bass for Papa", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Plug"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Duluth", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Trampled By Turtles"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Dummy", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Portishead"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Duos II", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Luciana Souza/Romero Lubambo"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Earl Scruggs and Friends", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Earl Scruggs"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Eden", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "El Camino", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Black Keys"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Elegant Gypsy", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Al di Meola"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Elements Of Life", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tiësto"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Elis Regina-Minha História", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Elis Regina"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Emergency On Planet Earth", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jamiroquai"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Emotion", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Papa Wemba"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "English Renaissance", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The King's Singers"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Every Kind of Light", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Posies"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Faceless", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Godsmack"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Facelift", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alice in Chains"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Fair Warning", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Van Halen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Fear of a Black Planet", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Public Enemy"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Fear Of The Dark", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Feels Like Home", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Norah Jones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Fireball", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Fly", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "For Those About To Rock We Salute You", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "AC/DC"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Four", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Blues Traveler"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Frank", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Amy Winehouse"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Further Down the Spiral", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nine Inch Nails"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Garage Inc. (Disc 1)", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Garage Inc. (Disc 2)", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Garbage", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Garbage"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Good News For People Who Love Bad News", + Genre = genres.Single(g => g.Name == "Indie"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Modest Mouse"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Gordon", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Barenaked Ladies"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Górecki: Symphony No. 3", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Adrian Leaper & Doreen de Feis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Hits I", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Queen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Hits II", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Queen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Hits", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Duck Sauce"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Hits", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Lenny Kravitz"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Hits", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Lenny Kravitz"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greatest Kiss", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Kiss"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Greetings from Michigan", + Genre = genres.Single(g => g.Name == "Indie"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sufjan Stevens"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Group Therapy", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Above & Beyond"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Handel: The Messiah (Highlights)", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Scholars Baroque Ensemble"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Haydn: Symphonies 99 - 104", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Royal Philharmonic Orchestra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Heart of the Night", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Spyro Gyra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Heart On", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Eagles of Death Metal"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Holy Diver", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dio"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Homework", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Daft Punk"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Hot Rocks, 1964-1971 (Disc 1)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Rolling Stones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Houses Of The Holy", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "How To Dismantle An Atomic Bomb", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Human", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Projected"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Hunky Dory", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "David Bowie"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Hymns", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Projected"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Hysteria", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Def Leppard"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Absentia", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Porcupine Tree"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Between", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paul Van Dyk"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Rainbows", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Radiohead"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Step", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Stevie Ray Vaughan & Double Trouble"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In the court of the Crimson King", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "King Crimson"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Through The Out Door", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Your Honor [Disc 1]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Foo Fighters"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "In Your Honor [Disc 2]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Foo Fighters"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Indestructible", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Rancid"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Infinity", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Journey"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Into The Light", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "David Coverdale"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Introspective", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pet Shop Boys"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Iron Maiden", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "ISAM", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Amon Tobin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "IV", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Jagged Little Pill", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alanis Morissette"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Jagged Little Pill", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alanis Morissette"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Jorge Ben Jor 25 Anos", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jorge Ben"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Jota Quest-1995", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jota Quest"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Kick", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "INXS"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Kill 'Em All", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Kind of Blue", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Miles Davis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "King For A Day Fool For A Lifetime", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Faith No More"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Kiss", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Carly Rae Jepsen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Last Call", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cayouche"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Le Freak", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chic"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Le Tigre", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Le Tigre"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Led Zeppelin I", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Led Zeppelin II", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Led Zeppelin III", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Let There Be Rock", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "AC/DC"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Little Earthquakes", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tori Amos"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live [Disc 1]", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Black Crowes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live [Disc 2]", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Black Crowes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live After Death", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live At Donington 1992 (Disc 1)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live At Donington 1992 (Disc 2)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live on Earth", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Cat Empire"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Live On Two Legs [Live]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pearl Jam"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Living After Midnight", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Judas Priest"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Living", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paddy Casey"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Load", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Love Changes Everything", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "MacArthur Park Suite", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Donna Summer"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Machine Head", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Magical Mystery Tour", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Beatles"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mais Do Mesmo", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Legião Urbana"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Maquinarama", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Skank"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Marasim", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jagjit Singh"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mascagni: Cavalleria Rusticana", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "James Levine"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Master of Puppets", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mechanics & Mathematics", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Venus Hum"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mental Jewelry", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Live"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Metallics", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "meteora", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Linkin Park"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Meus Momentos", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Gonzaguinha"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mezmerize", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "System Of A Down"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mezzanine", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Massive Attack"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Miles Ahead", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Miles Davis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Milton Nascimento Ao Vivo", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Milton Nascimento"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Minas", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Milton Nascimento"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Minha Historia", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chico Buarque"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Misplaced Childhood", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Marillion"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "MK III The Final Concerts [Disc 1]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Morning Dance", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Spyro Gyra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Motley Crue Greatest Hits", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Mötley Crüe"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Moving Pictures", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Rush"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mozart: Chamber Music", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nash Ensemble"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Mozart: Symphonies Nos. 40 & 41", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Berliner Philharmoniker"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Murder Ballads", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nick Cave and the Bad Seeds"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Music For The Jilted Generation", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Prodigy"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "My Generation - The Very Best Of The Who", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Who"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "My Name is Skrillex", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Skrillex"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Na Pista", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Cláudio Zoli"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Nevermind", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nirvana"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "New Adventures In Hi-Fi", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "R.E.M."), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "New Divide", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Linkin Park"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "New York Dolls", + Genre = genres.Single(g => g.Name == "Punk"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "New York Dolls"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "News Of The World", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Queen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Nielsen: The Six Symphonies", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Göteborgs Symfoniker & Neeme Järvi"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Night At The Opera", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Queen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Night Castle", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Trans-Siberian Orchestra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Nkolo", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Lokua Kanza"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "No More Tears (Remastered)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "No Prayer For The Dying", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "No Security", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Rolling Stones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "O Brother, Where Art Thou?", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Alison Krauss"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "O Samba Poconé", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Skank"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "O(+>", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Prince"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Oceania", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Smashing Pumpkins"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Off the Deep End", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Weird Al"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "OK Computer", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Radiohead"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Olodum", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Olodum"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "One Love", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "David Guetta"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Operation: Mindcrime", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Queensrÿche"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Opiate", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tool"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Outbreak", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dennis Chambers"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Pachelbel: Canon & Gigue", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "English Concert & Trevor Pinnock"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Paid in Full", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eric B. and Rakim"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Para Siempre", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Vicente Fernandez"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Pause", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Four Tet"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Peace Sells... but Who's Buying", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Megadeth"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Physical Graffiti [Disc 1]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Physical Graffiti [Disc 2]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Physical Graffiti", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Piece Of Mind", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Pinkerton", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Weezer"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Plays Metallica By Four Cellos", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Apocalyptica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Pop", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Powerslave", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Prenda Minha", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Caetano Veloso"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Presence", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Pretty Hate Machine", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nine Inch Nails"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Prisoner", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Jezabels"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Privateering", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Mark Knopfler"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Prokofiev: Romeo & Juliet", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Michael Tilson Thomas"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Prokofiev: Symphony No.1", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sergei Prokofiev & Yuri Temirkanov"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "PSY's Best 6th Part 1", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "PSY"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Purcell: The Fairy Queen", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "London Classical Players"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Purpendicular", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Purple", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Stone Temple Pilots"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Quanta Gente Veio Ver (Live)", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Gilberto Gil"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Quanta Gente Veio ver--Bônus De Carnaval", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Gilberto Gil"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Quiet Songs", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Aisha Duo"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Raices", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Los Tigres del Norte"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Raising Hell", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Run DMC"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Raoul and the Kings of Spain ", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tears For Fears"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rattle And Hum", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Raul Seixas", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Raul Seixas"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Recovery [Explicit]", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eminem"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Reign In Blood", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Slayer"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Relayed", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Yes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "ReLoad", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Respighi:Pines of Rome", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eugene Ormandy"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Restless and Wild", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Accept"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Retrospective I (1974-1980)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Rush"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Revelations", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Audioslave"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Revolver", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Beatles"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ride the Lighting ", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ride The Lightning", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ring My Bell", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Anita Ward"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Riot Act", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pearl Jam"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rise of the Phoenix", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Before the Dawn"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rock In Rio [CD1]", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rock In Rio [CD2]", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rock In Rio [CD2]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Roda De Funk", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Funk Como Le Gusta"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Room for Squares", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "John Mayer"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Root Down", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jimmy Smith"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rounds", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Four Tet"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rubber Factory", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Black Keys"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Rust in Peace", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Megadeth"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Sambas De Enredo 2001", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Various Artists"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Santana - As Years Go By", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Santana"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Santana Live", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Santana"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Saturday Night Fever", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Bee Gees"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Scary Monsters and Nice Sprites", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Skrillex"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Scheherazade", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chicago Symphony Orchestra & Fritz Reiner"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "SCRIABIN: Vers la flamme", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Christopher O'Riley"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Second Coming", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Stone Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Serie Sem Limite (Disc 1)", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tim Maia"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Serie Sem Limite (Disc 2)", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tim Maia"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Serious About Men", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Rubberbandits"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Seventh Son of a Seventh Son", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Short Bus", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Filter"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Sibelius: Finlandia", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Berliner Philharmoniker"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Singles Collection", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "David Bowie"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Six Degrees of Inner Turbulence", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dream Theater"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Slave To The Empire", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "T&N"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Slaves And Masters", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Slouching Towards Bethlehem", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Robert James"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Smash", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Offspring"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Something Special", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dolly Parton"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Somewhere in Time", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Song(s) You Know By Heart", + Genre = genres.Single(g => g.Name == "Country"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Jimmy Buffett"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Sound of Music", + Genre = genres.Single(g => g.Name == "Punk"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Adicts"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "South American Getaway", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The 12 Cellists of The Berlin Philharmonic"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Sozinho Remix Ao Vivo", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Caetano Veloso"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Speak of the Devil", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Spiritual State", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nujabes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "St. Anger", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Metallica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Still Life", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Opeth"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Stop Making Sense", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Talking Heads"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Stormbringer", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Stranger than Fiction", + Genre = genres.Single(g => g.Name == "Punk"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Bad Religion"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Strauss: Waltzes", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eugene Ormandy"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Supermodified", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Amon Tobin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Supernatural", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Santana"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Surfing with the Alien (Remastered)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Joe Satriani"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Switched-On Bach", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Wendy Carlos"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Symphony", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Szymanowski: Piano Works, Vol. 1", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Martin Roscoe"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Tchaikovsky: The Nutcracker", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "London Symphony Orchestra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ted Nugent", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ted Nugent"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Teflon Don", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Rick Ross"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Tell Another Joke at the Ol' Choppin' Block", + Genre = genres.Single(g => g.Name == "Indie"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Danielson Famile"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Temple of the Dog", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Temple of the Dog"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Ten", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pearl Jam"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Texas Flood", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Stevie Ray Vaughan"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Battle Rages On", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Beast Live", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Paul D'Ianno"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best Of 1980-1990", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best of 1990–2000", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best of Beethoven", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Nicolaus Esterhazy Sinfonia"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best Of Billy Cobham", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Billy Cobham"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best of Ed Motta", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ed Motta"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Best Of Van Halen, Vol. I", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Van Halen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Bridge", + Genre = genres.Single(g => g.Name == "R&B"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Melanie Fiona"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Cage", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tygers of Pan Tang"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Chicago Transit Authority", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Chicago "), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Chronic", + Genre = genres.Single(g => g.Name == "Rap"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dr. Dre"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Colour And The Shape", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Foo Fighters"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Crane Wife", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Decemberists"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Cream Of Clapton", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eric Clapton"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Cure", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Cure"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Dark Side Of The Moon", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pink Floyd"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Divine Conspiracy", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Epica"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Doors", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Doors"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Dream of the Blue Turtles", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sting"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Essential Miles Davis [Disc 1]", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Miles Davis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Essential Miles Davis [Disc 2]", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Miles Davis"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Final Concerts (Disc 2)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deep Purple"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Final Frontier", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Head and the Heart", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Head and the Heart"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Joshua Tree", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Last Night of the Proms", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "BBC Concert Orchestra"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Lumineers", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Lumineers"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Number of The Beast", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Number of The Beast", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Police Greatest Hits", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Police"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Song Remains The Same (Disc 1)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Song Remains The Same (Disc 2)", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Southern Harmony and Musical Companion", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Black Crowes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Spade", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Butch Walker & The Black Widows"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Stone Roses", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Stone Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Suburbs", + Genre = genres.Single(g => g.Name == "Indie"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Arcade Fire"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Three Tenors Disc1/Disc2", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Carreras, Pavarotti, Domingo"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Trees They Grow So High", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The Wall", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pink Floyd"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "The X Factor", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Them Crooked Vultures", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Them Crooked Vultures"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "This Is Happening", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "LCD Soundsystem"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Thunder, Lightning, Strike", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Go! Team"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Time to Say Goodbye", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sarah Brightman"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Time, Love & Tenderness", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Michael Bolton"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Tomorrow Starts Today", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Mobile"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Tribute", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Ozzy Osbourne"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Tuesday Night Music Club", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sheryl Crow"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Umoja", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "BLØF"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Under the Pink", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tori Amos"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Undertow", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Tool"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Un-Led-Ed", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Dread Zeppelin"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Unplugged [Live]", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Kiss"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Unplugged", + Genre = genres.Single(g => g.Name == "Blues"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eric Clapton"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Unplugged", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Eric Clapton"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Untrue", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Burial"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Use Your Illusion I", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Guns N' Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Use Your Illusion II", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Guns N' Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Use Your Illusion II", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Guns N' Roses"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Van Halen III", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Van Halen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Van Halen", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Van Halen"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Version 2.0", + Genre = genres.Single(g => g.Name == "Alternative"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Garbage"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Vinicius De Moraes", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Vinícius De Moraes"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Virtual XI", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Iron Maiden"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Voodoo Lounge", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Rolling Stones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Vozes do MPB", + Genre = genres.Single(g => g.Name == "Latin"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Various Artists"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Vs.", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pearl Jam"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Wagner: Favourite Overtures", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sir Georg Solti & Wiener Philharmoniker"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Walking Into Clarksdale", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Page & Plant"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Wapi Yo", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Lokua Kanza"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "War", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Warner 25 Anos", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Antônio Carlos Jobim"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Wasteland R&Btheque", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Raunchy"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Watermark", + Genre = genres.Single(g => g.Name == "Electronic"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Enya"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "We Were Exploding Anyway", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "65daysofstatic"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Weill: The Seven Deadly Sins", + Genre = genres.Single(g => g.Name == "Classical"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Orchestre de l'Opéra de Lyon"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "White Pony", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Deftones"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Who's Next", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Who"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Wish You Were Here", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Pink Floyd"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "With Oden on Our Side", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Amon Amarth"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Worlds", + Genre = genres.Single(g => g.Name == "Jazz"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Aaron Goldberg"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Worship Music", + Genre = genres.Single(g => g.Name == "Metal"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Anthrax"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "X&Y", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Coldplay"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Xinti", + Genre = genres.Single(g => g.Name == "World"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Sara Tavares"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Yano", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Yano"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Yesterday Once More Disc 1/Disc 2", + Genre = genres.Single(g => g.Name == "Pop"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "The Carpenters"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Zooropa", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "U2"), + AlbumArtUrl = imgUrl + }, + new Album + { + Title = "Zoso", + Genre = genres.Single(g => g.Name == "Rock"), + Price = 8.99M, + Artist = artists.Single(a => a.Name == "Led Zeppelin"), + AlbumArtUrl = imgUrl + }, + }; + + context.Albums.AddRange(albums); } private static List AddArtists(MusicStoreEntities context) @@ -789,10 +4029,11 @@ namespace MvcMusicStore.Models new Artist { Name = "Yes" }, new Artist { Name = "Yo-Yo Ma" }, new Artist { Name = "Zeca Pagodinho" }, - new Artist { Name = "אריק אינשטיין"} + new Artist { Name = "אריק אינשטיין" } }; - artists.ForEach(s => context.Artists.Add(s)); - context.SaveChanges(); + + context.Artists.AddRange(artists); + return artists; } @@ -817,8 +4058,8 @@ namespace MvcMusicStore.Models new Genre { Name = "World" } }; - genres.ForEach(s => context.Genres.Add(s)); - context.SaveChanges(); + context.Genres.AddRange(genres); + return genres; } } diff --git a/src/MusicStore/Models/ShoppingCart.cs b/src/MusicStore/Models/ShoppingCart.cs index 9128caf0d9..31c9b0fada 100644 --- a/src/MusicStore/Models/ShoppingCart.cs +++ b/src/MusicStore/Models/ShoppingCart.cs @@ -1,196 +1,159 @@ using System; -using System.Collections.Generic; using System.Linq; +using System.Threading.Tasks; using Microsoft.AspNet.Abstractions; using Microsoft.AspNet.Mvc; +using Microsoft.Data.Entity; namespace MvcMusicStore.Models { - public partial class ShoppingCart + public class ShoppingCart { - MusicStoreEntities _db; - string ShoppingCartId { get; set; } - - public ShoppingCart(MusicStoreEntities db) - { - _db = db; - } - public const string CartSessionKey = "CartId"; - public static ShoppingCart GetCart(MusicStoreEntities db, HttpContext context) + private readonly MusicStoreEntities _storeContext; + private readonly string _cartId; + + private ShoppingCart(MusicStoreEntities storeContext, string cartId) { - var cart = new ShoppingCart(db); - cart.ShoppingCartId = cart.GetCartId(context); - return cart; + _storeContext = storeContext; + _cartId = cartId; } - // Helper method to simplify shopping cart calls - public static ShoppingCart GetCart(MusicStoreEntities db, Controller controller) + public static ShoppingCart GetCart(MusicStoreEntities storeContext, Controller controller) { - return GetCart(db, controller.Context); + return new ShoppingCart(storeContext, GetCartId(controller.Context)); } - public void AddToCart(Album album) + private static string GetCartId(HttpContext context) { - // Get the matching cart and album instances - var cartItem = _db.Carts.SingleOrDefault( - c => c.CartId == ShoppingCartId - && c.AlbumId == album.AlbumId); + throw new NotImplementedException(); + //if (context.Session[CartSessionKey] == null) + //{ + // var username = context.User.Identity.Name; + + // context.Session[CartSessionKey] = !string.IsNullOrWhiteSpace(username) + // ? username + // : Guid.NewGuid().ToString(); + //} + + //return context.Session[CartSessionKey].ToString(); + } + + public async Task AddToCart(Album album) + { + var cartItem = await GetCartItem(album.AlbumId); if (cartItem == null) { - // Create a new cart item if no cart item exists cartItem = new Cart { AlbumId = album.AlbumId, - CartId = ShoppingCartId, + CartId = _cartId, Count = 1, DateCreated = DateTime.Now }; - _db.Carts.Add(cartItem); + _storeContext.Carts.Add(cartItem); } else { - // If the item does exist in the cart, then add one to the quantity cartItem.Count++; } } - public int RemoveFromCart(int id) + public async Task RemoveFromCart(int id) { - // Get the cart - var cartItem = _db.Carts.Single( - cart => cart.CartId == ShoppingCartId - && cart.RecordId == id); - - int itemCount = 0; + var cartItem = await GetCartItem(id); if (cartItem != null) { if (cartItem.Count > 1) { - cartItem.Count--; - itemCount = cartItem.Count; - } - else - { - _db.Carts.Remove(cartItem); + return --cartItem.Count; } + _storeContext.Carts.Remove(cartItem); } - return itemCount; + return 0; } - public void EmptyCart() + private Task GetCartItem(int albumId) { - var cartItems = _db.Carts.Where(cart => cart.CartId == ShoppingCartId); - - foreach (var cartItem in cartItems) - { - _db.Carts.Remove(cartItem); - } - + return _storeContext.Carts.SingleOrDefaultAsync( + c => c.CartId == _cartId && c.AlbumId == albumId); } - public List GetCartItems() + public IQueryable GetCartItems() { - return _db.Carts.Where(cart => cart.CartId == ShoppingCartId).ToList(); + return _storeContext.Carts.Where(c => c.CartId == _cartId); } - public int GetCount() + public Task GetCount() { - // Get the count of each item in the cart and sum them up - int? count = (from cartItems in _db.Carts - where cartItems.CartId == ShoppingCartId - select (int?)cartItems.Count).Sum(); - - // Return 0 if all entries are null - return count ?? 0; + return _storeContext.Carts + .Where(c => c.CartId == _cartId) + .Select(c => c.Count) + .SumAsync(); } - public decimal GetTotal() + public Task GetTotal() { - // Multiply album price by count of that album to get - // the current price for each of those albums in the cart - // sum all album price totals to get the cart total - decimal? total = (from cartItems in _db.Carts - where cartItems.CartId == ShoppingCartId - select (int?)cartItems.Count * cartItems.Album.Price).Sum(); - return total ?? decimal.Zero; + return _storeContext.Carts + .Where(c => c.CartId == _cartId) + .Select(c => c.Count * c.Album.Price) + .SumAsync(); } - public int CreateOrder(Order order) + public async Task CreateOrder(Order order) { decimal orderTotal = 0; - var cartItems = GetCartItems(); + var cartItems = await _storeContext.Carts + .Where(c => c.CartId == _cartId) + .Include(c => c.Album) + .ToListAsync(); - // Iterate over the items in the cart, adding the order details for each foreach (var item in cartItems) { - var album = _db.Albums.Find(item.AlbumId); - - var orderDetail = new OrderDetail + order.OrderDetails.Add(new OrderDetail { AlbumId = item.AlbumId, OrderId = order.OrderId, - UnitPrice = album.Price, + UnitPrice = item.Album.Price, Quantity = item.Count, - }; + }); - // Set the order total of the shopping cart - orderTotal += (item.Count * item.Album.Price); - - _db.OrderDetails.Add(orderDetail); + orderTotal += item.Count * item.Album.Price; } - // Set the order's total to the orderTotal count order.Total = orderTotal; - // Empty the shopping cart - EmptyCart(); + await EmptyCart(); - // Return the OrderId as the confirmation number return order.OrderId; } - // We're using HttpContextBase to allow access to cookies. - public string GetCartId(HttpContext context) + private async Task EmptyCart() { - //if (context.Session[CartSessionKey] == null) - //{ - // if (!string.IsNullOrWhiteSpace(context.User.Identity.Name)) - // { - // context.Session[CartSessionKey] = context.User.Identity.Name; - // } - // else - // { - // // Generate a new random GUID using System.Guid class - // Guid tempCartId = Guid.NewGuid(); - - // // Send tempCartId back to client as a cookie - // context.Session[CartSessionKey] = tempCartId.ToString(); - // } - //} - - //return context.Session[CartSessionKey].ToString(); - return Guid.NewGuid().ToString(); + foreach (var cartItem in await _storeContext.Carts.Where( + c => c.CartId == _cartId).ToListAsync()) + { + _storeContext.Carts.Remove(cartItem); + } } - // When a user has logged in, migrate their shopping cart to - // be associated with their username - public void MigrateCart(string userName) + public async Task MigrateCart(string userName) { - var shoppingCart = _db.Carts.Where(c => c.CartId == ShoppingCartId); + var carts = await _storeContext.Carts.Where(c => c.CartId == _cartId).ToListAsync(); - foreach (Cart item in shoppingCart) + foreach (var item in carts) { item.CartId = userName; } + await _storeContext.SaveChangesAsync(); } } } \ No newline at end of file diff --git a/src/MusicStore/Stubs.cs b/src/MusicStore/Stubs.cs index a6c127997a..3344a26c39 100644 --- a/src/MusicStore/Stubs.cs +++ b/src/MusicStore/Stubs.cs @@ -1,8 +1,7 @@ -using System; +// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. + +using System; using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; namespace MvcMusicStore { @@ -16,23 +15,4 @@ namespace MvcMusicStore } } } - - public static class ListPretendingToBeDbContextExtensions - { - // Mock DbSet (List) - public static T Find(this List list, params object[] keys) - { - return default(T); - } - - public static IEnumerable Include(this IEnumerable list, string include) - { - return list; - } - - public static IEnumerable Include(this IEnumerable list, Func projection) - { - return list; - } - } } diff --git a/src/MusicStore/ViewModels/ShoppingCartRemoveViewModel.cs b/src/MusicStore/ViewModels/ShoppingCartRemoveViewModel.cs index b190275d44..2ec5bdaf06 100644 --- a/src/MusicStore/ViewModels/ShoppingCartRemoveViewModel.cs +++ b/src/MusicStore/ViewModels/ShoppingCartRemoveViewModel.cs @@ -1,11 +1,13 @@ -namespace MvcMusicStore.ViewModels +// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. + +namespace MvcMusicStore.ViewModels { public class ShoppingCartRemoveViewModel { - public string Message { get; set; } - public decimal CartTotal { get; set; } - public int CartCount { get; set; } - public int ItemCount { get; set; } - public int DeleteId { get; set; } + public string Message { get; set; } + public decimal CartTotal { get; set; } + public int CartCount { get; set; } + public int ItemCount { get; set; } + public int DeleteId { get; set; } } } \ No newline at end of file diff --git a/src/MusicStore/ViewModels/ShoppingCartViewModel.cs b/src/MusicStore/ViewModels/ShoppingCartViewModel.cs index 53702aeb81..5d24011666 100644 --- a/src/MusicStore/ViewModels/ShoppingCartViewModel.cs +++ b/src/MusicStore/ViewModels/ShoppingCartViewModel.cs @@ -1,4 +1,6 @@ -using System.Collections.Generic; +// Copyright (c) Microsoft Open Technologies, Inc. All rights reserved. See License.txt in the project root for license information. + +using System.Collections.Generic; using MvcMusicStore.Models; namespace MvcMusicStore.ViewModels @@ -6,6 +8,6 @@ namespace MvcMusicStore.ViewModels public class ShoppingCartViewModel { public List CartItems { get; set; } - public decimal CartTotal { get; set; } + public decimal CartTotal { get; set; } } -} \ No newline at end of file +} diff --git a/src/MusicStore/project.json b/src/MusicStore/project.json index cc761c3781..46d3475fa5 100644 --- a/src/MusicStore/project.json +++ b/src/MusicStore/project.json @@ -2,6 +2,16 @@ "dependencies": { "Microsoft.AspNet.Abstractions": "0.1-alpha-*", "Microsoft.AspNet.DependencyInjection" : "0.1-alpha-*", - "Microsoft.AspNet.Mvc" : "0.1-alpha-*" + "Microsoft.AspNet.Mvc" : "0.1-alpha-*", + "Microsoft.Data.Entity" : "0.1-alpha-*" + }, + "configurations": { + "net45": { + "dependencies": { + "System.Runtime" : "", + "System.Collections" : "" + } + }, + "k10": {} } } \ No newline at end of file diff --git a/src/MvcMusicStore/Controllers/AccountController.cs b/src/MvcMusicStore/Controllers/AccountController.cs index 9041287c9a..d31a16462b 100644 --- a/src/MvcMusicStore/Controllers/AccountController.cs +++ b/src/MvcMusicStore/Controllers/AccountController.cs @@ -1,11 +1,8 @@ -using System.Collections.Generic; -using System.Security.Claims; -using System.Threading.Tasks; +using System.Threading.Tasks; using System.Web; using System.Web.Mvc; using Microsoft.AspNet.Identity; using Microsoft.AspNet.Identity.EntityFramework; -using Microsoft.AspNet.Identity.Owin; using Microsoft.Owin.Security; using MvcMusicStore.Models; diff --git a/src/MvcMusicStore/Models/Artist.cs b/src/MvcMusicStore/Models/Artist.cs index 20a1e49c1d..156675c034 100644 --- a/src/MvcMusicStore/Models/Artist.cs +++ b/src/MvcMusicStore/Models/Artist.cs @@ -1,9 +1,4 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Web; - -namespace MvcMusicStore.Models +namespace MvcMusicStore.Models { public class Artist { diff --git a/src/MvcMusicStore/Models/Genre.cs b/src/MvcMusicStore/Models/Genre.cs index f9c4a05264..d2e61f4e4a 100644 --- a/src/MvcMusicStore/Models/Genre.cs +++ b/src/MvcMusicStore/Models/Genre.cs @@ -2,11 +2,11 @@ namespace MvcMusicStore.Models { - public class Genre + public class Genre { - public int GenreId { get; set; } - public string Name { get; set; } - public string Description { get; set; } - public List Albums { get; set; } + public int GenreId { get; set; } + public string Name { get; set; } + public string Description { get; set; } + public List Albums { get; set; } } } diff --git a/src/MvcMusicStore/Models/ShoppingCart.cs b/src/MvcMusicStore/Models/ShoppingCart.cs index cab45712fe..14842c86b8 100644 --- a/src/MvcMusicStore/Models/ShoppingCart.cs +++ b/src/MvcMusicStore/Models/ShoppingCart.cs @@ -1,5 +1,4 @@ using System; -using System.Collections.Generic; using System.Data.Entity; using System.Linq; using System.Threading.Tasks;