File tree Expand file tree Collapse file tree 2 files changed +30
-0
lines changed
samples/Thinktecture.EntityFrameworkCore.Benchmarks/Database Expand file tree Collapse file tree 2 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ namespace Thinktecture.Database;
22
33public abstract class BenchmarkDbContext : DbContext
44{
5+ public DbSet < TestEntity > TestEntities { get ; set ; } = null ! ;
6+
57 protected BenchmarkDbContext ( DbContextOptions options )
68 : base ( options )
79 {
Original file line number Diff line number Diff line change 1+ namespace Thinktecture . Database ;
2+
3+ public class TestEntity
4+ {
5+ public Guid Id { get ; set ; }
6+
7+ public decimal Number1 { get ; set ; }
8+ public decimal Number2 { get ; set ; }
9+ public decimal Number3 { get ; set ; }
10+ public decimal Number4 { get ; set ; }
11+ public decimal Number5 { get ; set ; }
12+ public decimal Number6 { get ; set ; }
13+ public decimal Number7 { get ; set ; }
14+ public decimal Number8 { get ; set ; }
15+ public decimal Number9 { get ; set ; }
16+ public decimal Number10 { get ; set ; }
17+
18+ public string ? String1 { get ; set ; }
19+ public string ? String2 { get ; set ; }
20+ public string ? String3 { get ; set ; }
21+ public string ? String4 { get ; set ; }
22+ public string ? String5 { get ; set ; }
23+ public string ? String6 { get ; set ; }
24+ public string ? String7 { get ; set ; }
25+ public string ? String8 { get ; set ; }
26+ public string ? String9 { get ; set ; }
27+ public string ? String10 { get ; set ; }
28+ }
You can’t perform that action at this time.
0 commit comments