From 463d14d78c77e2c910d38a4d3f044703021781da Mon Sep 17 00:00:00 2001 From: Jovan Popovic Date: Fri, 5 Oct 2018 23:29:17 +0200 Subject: [PATCH] Added missing columns in WebApi.Suppliers --- .../wide-world-importers/wwi-app/Controllers/ODataController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs index deaa5acf..af50759d 100644 --- a/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs +++ b/samples/databases/wide-world-importers/wwi-app/Controllers/ODataController.cs @@ -389,7 +389,7 @@ namespace wwi_app.Controllers } - TableSpec suppliers = new TableSpec("WebApi","Suppliers", "SupplierID,SupplierName,SupplierCategoryName,PrimaryContact,AlternateContact,PhoneNumber,FaxNumber,WebsiteURL,SupplierReference,DeliveryLocation,BankAccountName,BankAccountBranch,BankAccountCode,BankAccountNumber,BankInternationalCode,PostalAddressLine1,PostalAddressLine2,PostalPostalCode,PaymentDays"); + TableSpec suppliers = new TableSpec("WebApi","Suppliers", "SupplierID,SupplierName,SupplierCategoryName,PrimaryContact,AlternateContact,PhoneNumber,FaxNumber,WebsiteURL,SupplierReference,DeliveryLocation,BankAccountName,BankAccountBranch,BankAccountCode,BankAccountNumber,BankInternationalCode,PostalAddressLine1,PostalAddressLine2,PostalPostalCode,PaymentDays,SupplierCategoryID"); [HttpGet] public async Task Suppliers(int? id)