Merge branch 'net5.0'

This commit is contained in:
不做码农
2022-05-09 12:28:54 +08:00
32 changed files with 854 additions and 226 deletions

View File

@@ -149,7 +149,14 @@ namespace ZR.Repository
throw;
}
}
public IStorageable<T> Storageable(T t)
{
return Context.Storageable<T>(t);
}
public IStorageable<T> Storageable(List<T> t)
{
return Context.Storageable(t);
}
/// <summary>
///
/// </summary>

View File

@@ -37,7 +37,8 @@ namespace ZR.Repository
int Update(Expression<Func<T, bool>> where, Expression<Func<T, T>> columns);
#endregion update
IStorageable<T> Storageable(T t);
IStorageable<T> Storageable(List<T> t);
DbResult<bool> UseTran(Action action);
DbResult<bool> UseTran(SqlSugarClient client, Action action);

View File

@@ -0,0 +1,20 @@
using System;
using Infrastructure.Attribute;
using ZR.Repository.System;
using ZR.Model.Models;
namespace ZR.Repository
{
/// <summary>
/// 多语言配置仓储
///
/// @author zr
/// @date 2022-05-06
/// </summary>
[AppService(ServiceLifetime = LifeTime.Transient)]
public class CommonLangRepository : BaseRepository<CommonLang>
{
#region
#endregion
}
}

View File

@@ -13,7 +13,7 @@
<PackageReference Include="MySql.Data" Version="8.0.25" />
<PackageReference Include="NETCore.Encrypt" Version="2.1.0" />
<PackageReference Include="SqlSugar.IOC" Version="1.8.0" />
<PackageReference Include="SqlSugarCoreNoDrive" Version="5.0.7.6" />
<PackageReference Include="SqlSugarCoreNoDrive" Version="5.0.7.8" />
</ItemGroup>
<ItemGroup>