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 插入 /// /// 在数据库中插入数据