Skip to content

Tutorial

Marcin Sulecki edited this page Apr 4, 2017 · 6 revisions

Instalacja

PM> Install-Package EntityFramework

Utworzenie kontekstu

public class MusicStoreContext : DbContext
   {
       public DbSet<Artist> Artists { get; set; }
       public DbSet<Album> Albums { get; set; }

       public MusicStoreContext()
           : base("MusicStoreConnection")
       {

       }
   }
Clone this wiki locally