Posts by Dariel • 103 points
4 posts
-
2
votes1
answer208
viewsQ: Aggregations and the DDD
I’m developing a project applying the principles of DDD, I created a class aggregation (Conta) it will contain the classes (Agencia) and (Agente) that as (Conta) have tables in the database. My…
-
2
votes1
answer404
viewsQ: How can I validate an Enum using Fluentvalidator?
I’m creating a validation class in c# using FluentValidation to validate that my property Type of my class Account be the type AccountType which is mine enum. How would the correct implementation of…
-
3
votes2
answers120
viewsA: Enumeration class in the Repository Pattern
Thanks for the messages, I’ve solved the problem. Create in the class that inherits from Enumeration the following: public class Status : Enumeration { //YOUR CODE **public static Status…
-
3
votes2
answers120
viewsQ: Enumeration class in the Repository Pattern
How can I read from my bank an attribute int which in my system is a type attribute Enumeration in the Repository Pattern? I took a class: public class Status : Enumeration { public static readonly…