Skip to content

Commit 7e86899

Browse files
committed
fix lint
1 parent 2d391b0 commit 7e86899

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query/DecimalParameterQueryYdbFixture.cs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,14 @@ protected override void OnModelCreating(ModelBuilder b, DbContext ctx)
3535
public class DecimalContext(DbContextOptions options) : DbContext(options);
3636
}
3737

38-
public class ItemDefault { public int Id { get; init; } public decimal Price { get; init; } }
39-
public class ItemExplicit { public int Id { get; init; } public decimal Price { get; init; } }
38+
public class ItemDefault
39+
{
40+
public int Id { get; init; }
41+
public decimal Price { get; init; }
42+
}
43+
44+
public class ItemExplicit
45+
{
46+
public int Id { get; init; }
47+
public decimal Price { get; init; }
48+
}

src/EFCore.Ydb/test/EntityFrameworkCore.Ydb.FunctionalTests/Query/DecimalParameterYdbTest.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ private sealed class MappingOnlyContext(DbContextOptions<MappingOnlyContext> opt
8484
{
8585
protected override void OnModelCreating(ModelBuilder b)
8686
=> b.Entity<MappingEntity>(e =>
87-
{
88-
e.HasKey(x => x.Id);
89-
e.Property(x => x.Price).HasPrecision(30, 10);
90-
});
87+
{
88+
e.HasKey(x => x.Id);
89+
e.Property(x => x.Price).HasPrecision(30, 10);
90+
});
9191
}
9292

9393
private sealed class MappingEntity

0 commit comments

Comments
 (0)