File: MyContext.cs | Web Access |
Project: src\src\Middleware\HealthChecks\test\testassets\HealthChecksSample\HealthChecksSample.csproj (HealthChecksSample) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. using Microsoft.EntityFrameworkCore; namespace HealthChecksSample; public class MyContext : DbContext { public MyContext(DbContextOptions options) : base(options) { } public DbSet<Blog> Blog { get; set; } } public class Blog { public int BlogId { get; set; } public string Url { get; set; } } |