From 681237db558661bd071c815781b1abc9bb03fe6a Mon Sep 17 00:00:00 2001 From: FalconFly <12919280+falconfly@user.noreply.gitee.com> Date: Tue, 18 Jul 2023 18:20:51 +0800 Subject: [PATCH] =?UTF-8?q?SugarDbContext=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs b/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs index c27179b..dee358b 100644 --- a/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs +++ b/Falcon.SugarApi/DatabaseDefinitions/SugarDbContext.cs @@ -34,6 +34,12 @@ namespace Falcon.SugarApi.DatabaseDefinitions /// public ILogger Logger { get; } + /// + /// 数据库类型 + /// + [Obsolete("测试,调用报错,会导致进程退出!",true)] + public string DbTpye => this.DbTpye; + #region 插入 /// /// 在数据库中插入数据