1. Eli Weinstock-Herman
  2. MVCMusicStore.Main

Source

MVCMusicStore.Main / MvcMusicStoreTests / Fakes / FakeDataStore.cs

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MvcMusicStore.Models;

namespace MvcMusicStoreTests.Fakes {
	class FakeDataStore : IMusicStoreEntities {

		public System.Data.Entity.IDbSet<Album> Albums {get;set;}

		public System.Data.Entity.IDbSet<Genre> Genres { get; set; }

		public System.Data.Entity.IDbSet<Artist> Artists { get; set; }

		public System.Data.Entity.IDbSet<Cart> Carts { get; set; }

		public System.Data.Entity.IDbSet<Order> Orders { get; set; }

		public System.Data.Entity.IDbSet<OrderDetail> OrderDetails { get; set; }

		public int SaveChanges() {
			return 0;
		}

		public void SetModified(object target) {
			
		}

		public void Dispose() {
			
		}
	}
}