mirror of
https://github.com/markjprice/cs11dotnet7.git
synced 2026-04-06 06:43:47 +00:00
Initial commit
This commit is contained in:
parent
82d7a2990d
commit
003d4056a9
4 changed files with 10 additions and 14 deletions
|
|
@ -8,7 +8,7 @@ partial class Program
|
|||
{
|
||||
using (Northwind db = new())
|
||||
{
|
||||
if ((db.Products is null) || (db.Products.Count() == 0))
|
||||
if ((db.Products is null) || (!db.Products.Any()))
|
||||
{
|
||||
Fail("There are no products.");
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue