0
hao created
i write a method like is:
public async Task<SomeResultOutput> Send(SomeInput input)
{
var id =await _someRepository.InsertAndGetIdAsync(new SomeEntity()
{
Code = "123456"
});
throw new UserFriendlyException();
}
but the SomeEntity Has been written to the database.did not rollback. what have I done wrong i use abp 1.3.1 , and i had try 1.5.0
1 Answer(s)
-
0
Hi,
Can you share the code of class contains this method ?
Thanks.