예제 #1
0
        public void ConfigureServices(IServiceCollection services)
        {
            Action <DbContextOptionsBuilder> db_configuration = x
                                                                => x.UseSqlServer
                                                                (
                Configuration["Database:ConnectionString"],
                options => options.EnableRetryOnFailure()
                                                                );

            StartupHelper.ConfigureServices(services, db_configuration, Configuration);
        }
예제 #2
0
 public void Configure(IApplicationBuilder app, IWebHostEnvironment env, Context context)
 {
     StartupHelper.Configure(app, env, context);
 }