v1.4.0-preview0424

This commit is contained in:
28810
2020-04-24 02:11:42 +08:00
parent 5e15749aa8
commit 2825f8acd2
20 changed files with 19 additions and 28 deletions

View File

@ -39,7 +39,7 @@ namespace aspnetcore_transaction.Controllers
_repoSong2 = repoSong2;
}
[Transactional]
[Transactional(Propagation = Propagation.Nested)] //sqlite 不能嵌套事务,会锁库的
public virtual void Test()
{
_repoSong.Insert(new Song());