Skip to main content
mirind4's user avatar
mirind4's user avatar
mirind4's user avatar
mirind4
  • Member for 7 years, 5 months
  • Last seen more than a month ago
  • Hungary
asked
Loading…
comment
Generic class for Unit of Work pattern
@AdamBrown Super! I learned so much, thanks again! ;)
accepted
comment
Generic class for Unit of Work pattern
@AdamBrown Thanks a lot for you answer, accepted! I learned a lot! I would still have two small questions if you don't mind. As for 1.) You mean it for the RunnableTransaction class, right? Or also for my old ContainerPlacerForNewOrderService ? As for 2.) and 4.) So the new ContainerPlacerForNewOrderService is unnecessary since it operates only on its own parameters, am i right? 3.) I love it! :)
asked
Loading…
revised
Loading…
Loading…
Loading…
awarded
comment
Using constructor dependency injection in a custom mapper class
@Migual Thank you very much! This is what I really wanted: a nice code example and a good place to start with DDD! Cheers ;)
comment
Using constructor dependency injection in a custom mapper class
Thank you very much for your answer! So far I did not know what AggregateRoot is, just read about it. This DDD looks promising I will learn more about it! So just to make the things a bit clear because it is a bit difficult to understand what you say without code example. (If you would provide some I would really appreciate it, thanks) So I make a OrderAggregateRepository which has an injected IDateTime constructor parameter, and an GetByOrder method which instantiates the Aggregate object which in this case the Order. Then the repository should be used in this class.Is it correct? :)
awarded
comment
Using constructor dependency injection in a custom mapper class
@t3chb0t oh, that's right, sounds good then :) Cheers!
awarded
comment
Using constructor dependency injection in a custom mapper class
@t3chb0t I put the whole code to my snippets. Or it is already closed? :O
revised
Loading…
comment
Using constructor dependency injection in a custom mapper class
@t3chb0t I thought that those codes are not relevant to my question at all, so i decided not to put in the code. But I can do it, I finish with working then I am going to put those code-parts as well, thanks for your remark.
revised
Loading…
Loading…