mirror of
https://github.com/zoriya/EntityFrameworkCore.Projectables.git
synced 2025-12-19 03:55:11 +00:00
Support both net6 and net7
This commit is contained in:
@@ -159,6 +159,9 @@ namespace BasicSample
|
||||
|
||||
result = dbContext.Users.FirstOrDefault(x => x.TotalSpent > 1);
|
||||
Console.WriteLine($"Our first user {result.FullName} has spent {result.TotalSpent}");
|
||||
|
||||
var spent = dbContext.Users.Sum(x => x.TotalSpent);
|
||||
Console.WriteLine($"Our users combined spent: {spent}");
|
||||
}
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user