You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
작업 단위 패턴 또한 비동기, 동기에 따라 클래스가 별도로 구현되어 있습니다. 생성한 커넥션에 맞춰 사용하시면 됩니다.
229
230
230
-
이렇게 만들어진 작업 단위 클래스는 애플리케이션의 비즈니스 로직을 정의할 ***UseCase*** 클래스에 담아 사용할 수 있습니다. 사실상 비즈니스 로직에서 트랜잭션이 필요로 하는 경우의 코드이기 때문에 작업 단위 패턴에 있는 메서드에 ```transactional``` 데코레이터를 사용하여 트랜잭션을 처리할 수 있습니다.
231
+
이렇게 만들어진 작업 단위 클래스는 애플리케이션의 비즈니스 로직을 정의할 ***UseCase*** 클래스에 담아 사용할 수 있습니다. 사실상 비즈니스 로직에서 트랜잭션이 필요로 하는 경우의 코드이기 때문에 작업 단위 패턴에 있는 메서드에 ```transactional``` 데코레이터를 사용하여 트랜잭션을 처리할 수 있습니다.
232
+
233
+
(```transactional``` 데코레이터를 사용하는 경우, pymfdata에서 제공하는 ```BaseUseCase``` 클래스를 상속하여 사용해주십시오)
@@ -231,3 +233,5 @@ The unit of work pattern is also divided into asynchronous and synchronous class
231
233
The created unit of work class can be used in the class containing business logic, and we define them as **UseCase**. This class contains the business logic of the application.
232
234
233
235
When using the unit of work pattern, use the transactional decorator on business logic methods to handle transaction processing.
236
+
237
+
(If you are using ```transactional``` decorators, please use the ```BaseUseCase``` class provided by pymfdata.)
0 commit comments