style: 添加扩展示例

This commit is contained in:
陈淳
2024-01-25 10:06:32 +08:00
parent 633f8d66f2
commit 3fa884f326
3 changed files with 81 additions and 17 deletions

View File

@@ -1,5 +1,6 @@
using System.Data.Common;
using Volo.Abp;
using Yi.Framework.SqlSugarCore.Abstractions;
namespace Yi.Framework.SqlSugarCore;
@@ -7,7 +8,6 @@ public class SqlSugarDbContextCreationContext
{
public static SqlSugarDbContextCreationContext Current => _current.Value;
private static readonly AsyncLocal<SqlSugarDbContextCreationContext> _current = new AsyncLocal<SqlSugarDbContextCreationContext>();
public string ConnectionStringName { get; }
public string ConnectionString { get; }