diff --git a/vs4win/Chapter10/WorkingWithEFCore/Program.Modifications.cs b/vs4win/Chapter10/WorkingWithEFCore/Program.Modifications.cs index 18a2234..077de65 100644 --- a/vs4win/Chapter10/WorkingWithEFCore/Program.Modifications.cs +++ b/vs4win/Chapter10/WorkingWithEFCore/Program.Modifications.cs @@ -70,7 +70,7 @@ partial class Program { if (db.Products is null) return (0, 0); - // Get the first product whose name starts with name. + // Get the first product whose name starts with the parameter value. Product updateProduct = db.Products.First( p => p.ProductName.StartsWith(productNameStartsWith)); @@ -119,7 +119,7 @@ partial class Program { if (db.Products is null) return (0, null); - // Get products whose name starts with name. + // Get products whose name starts with the parameter value. IQueryable? products = db.Products.Where( p => p.ProductName.StartsWith(productNameStartsWith)); diff --git a/vscode/Chapter10/WorkingWithEFCore/Program.Modifications.cs b/vscode/Chapter10/WorkingWithEFCore/Program.Modifications.cs index 18a2234..077de65 100644 --- a/vscode/Chapter10/WorkingWithEFCore/Program.Modifications.cs +++ b/vscode/Chapter10/WorkingWithEFCore/Program.Modifications.cs @@ -70,7 +70,7 @@ partial class Program { if (db.Products is null) return (0, 0); - // Get the first product whose name starts with name. + // Get the first product whose name starts with the parameter value. Product updateProduct = db.Products.First( p => p.ProductName.StartsWith(productNameStartsWith)); @@ -119,7 +119,7 @@ partial class Program { if (db.Products is null) return (0, null); - // Get products whose name starts with name. + // Get products whose name starts with the parameter value. IQueryable? products = db.Products.Where( p => p.ProductName.StartsWith(productNameStartsWith));