Replies: 1 comment 3 replies
-
hi
Are these application services called in the same request or two requests? Because you shouldn't call another Consider use Domain Service https://abp.io/docs/latest/framework/architecture/best-practices/domain-services |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have
PaymentApplicationService
where I create payment, after that I need to execute method in theOrderApplicationService
which marks order for which I have made a payment as paid. I think that this should be done in boundaries of one transaction. Does ABP allows me to reach this kind of functionality?I see that in my
PaymentApplicationService
I can haveUnitOfWorkManager
from the parent class -ApplicationService
andUnitOfWorkManager
haveBegin
method which can start transaction.Let's say I call
Begin
method in procedureFoo
ofPaymentApplicationService
. I want to commit this transaction in theFoo1
procedure ofOrderApplicationService
.This is the place where I have doubts, I am not sure if the transaction that has started in
Foo
procedure won't be commited whenFoo
procedure is completed.Beta Was this translation helpful? Give feedback.
All reactions