From ab3a2950a2333b41cec8176a3aed0b1a6f1dca29 Mon Sep 17 00:00:00 2001 From: "Robert McLaws (Microsoft MVP)" Date: Wed, 28 Sep 2016 13:57:54 -0400 Subject: [PATCH] Spelling fix --- .../Model/ModelProducer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Microsoft.Restier.Providers.EntityFramework/Model/ModelProducer.cs b/src/Microsoft.Restier.Providers.EntityFramework/Model/ModelProducer.cs index 8f03deb6..7be8d609 100644 --- a/src/Microsoft.Restier.Providers.EntityFramework/Model/ModelProducer.cs +++ b/src/Microsoft.Restier.Providers.EntityFramework/Model/ModelProducer.cs @@ -69,7 +69,7 @@ public Task GetModelAsync(ModelContext context, CancellationToken can if (efEntityContainers.Count > 1) { var containerNames = efEntityContainers.Aggregate("", (current, next) => next.Name + ", "); - throw new Exception("This project has multiple EntityFrameworkApis using different DbContexts, and the correct contect could not be loaded. \r\n" + + throw new Exception("This project has multiple EntityFrameworkApis using different DbContexts, and the correct context could not be loaded. \r\n" + $"The contexts available are '{containerNames.Substring(0, containerNames.Length - 2)}' but the Container expects '{efEntityContainer.Name}'."); } throw new Exception("Could not find the correct DbContext instance for this EntityFrameworkApi. \r\n" +