PageRenderTime 7ms CodeModel.GetById 1ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/MvcMusicStore/Models/MusicStoreEntities.cs

#
C# | 14 lines | 13 code | 1 blank | 0 comment | 0 complexity | badb725ae15ad2c1cf381bda0d9f612c MD5 | raw file
 1using System.Data.Entity;
 2
 3namespace MvcMusicStore.Models
 4{
 5    public class MusicStoreEntities : DbContext
 6    {
 7        public DbSet<Album> Albums { get; set; }
 8        public DbSet<Genre> Genres { get; set; }
 9        public DbSet<Artist> Artists { get; set; }
10        public DbSet<Cart> Carts { get; set; }
11        public DbSet<Order> Orders { get; set; }
12        public DbSet<OrderDetail> OrderDetails { get; set; }
13    }
14}