使用sqlsugar内置工作单元
This commit is contained in:
11
Yi.Framework.Net6/Yi.Framework.Repository/UnitOfWork.cs
Normal file
11
Yi.Framework.Net6/Yi.Framework.Repository/UnitOfWork.cs
Normal file
@@ -0,0 +1,11 @@
|
||||
using SqlSugar;
|
||||
|
||||
namespace Yi.Framework.Repository
|
||||
{
|
||||
/// <summary>
|
||||
/// Sqlsugar自带工作单元,何乐而不为呢?
|
||||
/// </summary>
|
||||
public class UnitOfWork: SugarUnitOfWork
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user