mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-19 03:55:11 +00:00
Fix failing tests
This commit is contained in:
@@ -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();
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user