mirror of
https://github.com/nsnail/FreeSql.git
synced 2025-06-18 20:08:15 +08:00
v1.4.0-preview0424
This commit is contained in:
@ -39,7 +39,7 @@ namespace aspnetcore_transaction.Controllers
|
||||
_repoSong2 = repoSong2;
|
||||
}
|
||||
|
||||
[Transactional]
|
||||
[Transactional(Propagation = Propagation.Nested)] //sqlite 不能嵌套事务,会锁库的
|
||||
public virtual void Test()
|
||||
{
|
||||
_repoSong.Insert(new Song());
|
||||
|
Reference in New Issue
Block a user