Fix failing tests

This commit is contained in:
2023-10-10 22:17:32 +02:00
parent 19829ccd0a
commit aa7cf4f9c6
7 changed files with 24 additions and 26 deletions

View File

@@ -22,7 +22,6 @@ namespace BasicSample
private string _FullName => FirstName + " " + LastName;
[Projectable(UseMemberBody = nameof(_TotalSpent))]
[NotMapped]
public double TotalSpent { get; set; }
private double _TotalSpent => Orders.Sum(x => x.PriceSum);
@@ -92,7 +91,7 @@ namespace BasicSample
.AddDbContext<ApplicationDbContext>((provider, options) => {
options
.UseSqlite(dbConnection)
.LogTo(Console.WriteLine)
// .LogTo(Console.WriteLine)
.EnableSensitiveDataLogging()
.UseProjectables();
})