Demo entry 6714510

dddd

   

Submitted by anonymous on Feb 13, 2018 at 18:47
Language: C#. Code size: 355 Bytes.

public void ConfigureServices(IServiceCollection services)
        {
            services.AddMvc();
            services.AddDbContext<ShopDbContext>(options => options.UseSqlServer(Configuration.GetConnectionString("ShopDB")));

            TinyBuilder.RegisterDbContext(services, typeof(ShopDbContext)).ConfigureFastDynamicFormServices();
        }

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).