From f9203288f2d0e0583ce923154f38abfabecf9295 Mon Sep 17 00:00:00 2001 From: Kenneth Tang Date: Mon, 28 Dec 2020 00:01:19 +0800 Subject: [PATCH] =?UTF-8?q?Release=201.1.3.0=20=E4=BF=AE=E6=AD=A3=E7=A8=8B?= =?UTF-8?q?=E5=BC=8F=E5=9B=A0=20DbContext=20=E5=95=8F=E9=A1=8C=EF=BC=8C?= =?UTF-8?q?=E5=B0=8E=E8=87=B4=E5=95=9F=E5=8B=95=E5=A4=B1=E6=95=97=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit bug: https://github.com/NTUT-SELab/MicrosoftGraphBot/issues/20 --- MicrosoftGraphAPIBot/MicrosoftGraphAPIBot.csproj | 8 ++------ MicrosoftGraphAPIBot/Models/BotDbContext.cs | 4 ---- ReleaseNotes/1.1.3.0.md | 8 ++++++++ azure-pipelines.yml | 2 +- 4 files changed, 11 insertions(+), 11 deletions(-) create mode 100644 ReleaseNotes/1.1.3.0.md diff --git a/MicrosoftGraphAPIBot/MicrosoftGraphAPIBot.csproj b/MicrosoftGraphAPIBot/MicrosoftGraphAPIBot.csproj index 3f17f04..281a5bf 100644 --- a/MicrosoftGraphAPIBot/MicrosoftGraphAPIBot.csproj +++ b/MicrosoftGraphAPIBot/MicrosoftGraphAPIBot.csproj @@ -16,7 +16,7 @@ all runtime; build; native; contentfiles; analyzers; buildtransitive - + all runtime; build; native; contentfiles; analyzers; buildtransitive @@ -37,12 +37,8 @@ - - all - runtime; build; native; contentfiles; analyzers; buildtransitive - - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/MicrosoftGraphAPIBot/Models/BotDbContext.cs b/MicrosoftGraphAPIBot/Models/BotDbContext.cs index 95e9599..44e20c1 100644 --- a/MicrosoftGraphAPIBot/Models/BotDbContext.cs +++ b/MicrosoftGraphAPIBot/Models/BotDbContext.cs @@ -4,10 +4,6 @@ namespace MicrosoftGraphAPIBot.Models { public class BotDbContext : DbContext { - public BotDbContext() - { - } - public BotDbContext(DbContextOptions options) : base(options) { } diff --git a/ReleaseNotes/1.1.3.0.md b/ReleaseNotes/1.1.3.0.md new file mode 100644 index 0000000..6de12b1 --- /dev/null +++ b/ReleaseNotes/1.1.3.0.md @@ -0,0 +1,8 @@ +## 新功能: + +## 變更: + +## Bug 修復: +`The DbContext of type 'BotDbContext' cannot be pooled because it does not have a public constructor accepting a single parameter of type DbContextOptions or has more than one constructor.` 錯誤 [(#20)](https://github.com/NTUT-SELab/MicrosoftGraphBot/issues/20) + +## 文檔: diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7bfe000..3757c64 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -1,6 +1,6 @@ variables: buildConfiguration: 'Release' - version: '1.1.2.0' + version: '1.1.3.0' stages: - stage: Build_and_Test