Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
80 views

I searched Stack Overflow and didn't find an answer to a similar question. In a query handler, which is in the Application layer, I want to retrieve only a subset of the properties from the Customer ...
MrChudz's user avatar
  • 1,245
0 votes
0 answers
44 views

I am trying to implement an HR management module wherein I have three 3 types of employees namely RegularEmployee, ReengagedEmployee, OutsourcedEmployee. All of them have some common properties like ...
genuinebookworm's user avatar
3 votes
2 answers
456 views

I have a question regarding DDD and the repository pattern. I have an AggregateRoot Report that has Transactions (which is an Entity Array). I used to have a CRUD repository and when I was modifying a ...
Giorgos Ntymenos's user avatar
1 vote
2 answers
214 views

I have an EF Core setup where in a class, I have a navigation property. As far as I can tell I followed the examples from Microsoft to the dot, yet my added entity is not persisted. I set up ...
Iustinian Olaru's user avatar
1 vote
2 answers
144 views

I'm designing an e-wallet system using Domain-Driven Design (DDD), and I'm facing a challenge regarding the design of my aggregates. Specifically, I have an aggregate representing an e-wallet, which ...
Bassel Ghaybour's user avatar
0 votes
1 answer
19 views

I use ddd in my learning project. The repository uses domain classes and internally maps them to persistence classes. In the base repository, I have the method Add(domainClass) and in the subclass ...
manfrom's user avatar
  • 141
1 vote
1 answer
162 views

I am currently trying to implement DDD on an ecommerce application. This is on an already existing application that used ntier architecture. I am taking it one step at a time trying to generate domain ...
Codrin pp's user avatar
1 vote
1 answer
592 views

I'm delving into Domain-Driven Design (DDD) and encountered a scenario that seems like a typical challenge. It revolves around creating domain objects, such as Aggregates, that depend on IDs which are ...
Fawwaz's user avatar
  • 56
2 votes
0 answers
213 views

the question does indeed seem a bit odd, but let me explain. Also I'm not sure about some of the tags of this question. We have a TYPO3 10 project in which we are using EXT:news as means to manage and ...
Lukas Hormel's user avatar
1 vote
1 answer
36 views

public IBaseRepository<TEntity, TIdentifier> GetRepository<TEntity, TIdentifier>(Expression<Func<TEntity, TIdentifier>> identifierExpression) where TEntity : class { var ...
Naeem's user avatar
  • 11
3 votes
2 answers
2k views

I faced the issue of mapping the database entity to the domain entity in DDD. Here are the details (simplified). Domain layer with domain aggregate (entity) and the interface for the repository of ...
kirill4a's user avatar
0 votes
1 answer
74 views

The short version: Canteen openDays Customer id bookingDays change(newBookingDays){ if (newBookingDays not in >>>canteen.openDays<<<) ...
inf3rno's user avatar
  • 26.3k
2 votes
2 answers
458 views

I have one entity named Team and another entity League. Now let's say that i want to create a many-many relationship between them but with an additional column/property that i need to define from code ...
ggeorge's user avatar
  • 1,628
0 votes
3 answers
667 views

In the process of DDD practice, i found that there was a mismatch between domain objects and persistent objects. I understand that DDD recommends that domain objects only expose the key fields and ...
Kratos's user avatar
  • 649
1 vote
2 answers
1k views

I'm trying to understand DDD concept and validation of entities inside aggregate root. Let me explain. Let's assume we have Web app where user have to register to the app and can join tournament (let'...
kenik's user avatar
  • 326
0 votes
0 answers
124 views

Short: How/is it possible to add services to the scope of all (Odata)Controllers of a assembly without adding them to every controller in the application (i.e. give the assembly a permanent scope with ...
Jonny's user avatar
  • 11
1 vote
2 answers
721 views

Let's say that I have a Seller aggregate with 2 collections: product for sale and sold-out products. I also have a Product aggregate with status (for sale or sold-out). Should I have the two ...
manfrom's user avatar
  • 141
-2 votes
1 answer
82 views

Lately I am trying to learn DDD and I am working on a test project. I have a few questions conserning my code. I just want to clarify that the meantions of Event in this code snippet refer to concerts,...
Konstantin Konstantinov's user avatar
0 votes
1 answer
1k views

I'm having a little trouble returning a table column name dynamically. I created an ASP net core 3.1 project in DDD standard and I am using Entity Framework Core v5.0.12. And I created the entity as ...
Anderson Lopez's user avatar
5 votes
1 answer
6k views

I'm learning DDD and have some troubles. I've created rich domain model with value objects and some functions for manipulating model properties. Currently i'm using in memory DB and my domain models ...
milandjukic88's user avatar
1 vote
1 answer
481 views

I am developing an application according to DDD. So I have my repositories' interfaces in the Domain layer. My requirement is to make a searchByParams method. My question is : is it correct that this ...
ihebiheb's user avatar
  • 5,361
1 vote
1 answer
728 views

I am trying to call a Domain service from integration test cases, so I create teamManager object using GetRequiredService() : _teamManager = GetRequiredService(); by this I am able to access methods ...
Siva Kumar's user avatar
2 votes
1 answer
615 views

We have an externally-owned SQL server with data that needs to be in our periodically ported into our team-owned (SQL) server. The external and internal server share the same domain concepts but exist ...
Joshua0414's user avatar
3 votes
3 answers
1k views

In DDD, I've seen the following code many times where an entity is passed as parameter to the save method of a repository. class MysqlUserRepository { public function save(User $user) {} } As far ...
jerkan's user avatar
  • 725
1 vote
1 answer
729 views

I'm trying to learn domain-driven design, and in my app I'm implementing authentication. I'm using Firebase Authentication to perform authentication. All authentication related stuff is in a separate ...
Yamin Nather's user avatar

1
2 3 4 5
10