-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0ca6d1f
commit ca37505
Showing
3 changed files
with
37 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
using FreeSql; | ||
|
||
namespace IGeekFan.FreeKit.Extras.FreeSql; | ||
|
||
/// <summary> | ||
/// 支持泛型仓储的工作单元管理器 | ||
/// </summary> | ||
/// <typeparam name="T"></typeparam> | ||
public class UnitOfWorkManager<T> : UnitOfWorkManager where T : class | ||
{ | ||
/// <summary> | ||
/// | ||
/// </summary> | ||
/// <param name="fsql"></param> | ||
public UnitOfWorkManager(IFreeSql<T> fsql) : base(fsql) | ||
{ | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters