Ejemplo n.º 1
0
        protected override void OnModelCreating(DbModelBuilder modelBuilder)
        {
            var conf = modelBuilder.Configurations;

            conf.Add(Pizza.GetConfiguration());
            conf.Add(PizzaOrder.GetConfiguration());
            conf.Add(PizzaOrderEntry.GetConfiguration());

            base.OnModelCreating(modelBuilder);
        }