Timeline for Where to place POCOs validation - N-layers architecture
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Apr 12, 2020 at 17:26 | history | edited | candied_orange | CC BY-SA 4.0 | added 3 characters in body |
| Jun 7, 2018 at 18:48 | history | edited | candied_orange | CC BY-SA 4.0 | added 52 characters in body |
| May 31, 2018 at 15:07 | comment | added | Robert Harvey | @Badulake: Come to this chat room. We'll talk about it there. | |
| May 31, 2018 at 15:06 | comment | added | Robert Harvey | Why do you need it "splitted in two layers?" | |
| May 31, 2018 at 15:04 | comment | added | X.Otano | @RobertHarvey because I have one POCO class , how can i add that functionality splitted in two layers for the same class , in a well-designed way ? | |
| May 31, 2018 at 14:58 | comment | added | Robert Harvey | @Badulake: Might I suggest that you handle database restrictions in your data access layer, and business rules in your business logic layer? I'm wondering why you're having trouble working this out. | |
| May 31, 2018 at 14:40 | comment | added | X.Otano | @candied_orange yes,How can I deal with the validations of business rules and validations of database restrictions with success??Where I place them and how I could handle them? I have no idea how to handle that a objet is valid from the business point of view , but invalid to the database . | |
| May 31, 2018 at 11:06 | comment | added | candied_orange | @Badulake better? | |
| May 31, 2018 at 11:05 | history | edited | candied_orange | CC BY-SA 4.0 | added 3979 characters in body |
| May 30, 2018 at 17:43 | history | edited | candied_orange | CC BY-SA 4.0 | added 1 character in body |
| May 30, 2018 at 15:18 | comment | added | Robert Harvey | @Badulake: It seems that you missed his point. You would put it in the layers that are closest to input and use. Which layers are those in your application? | |
| May 30, 2018 at 15:05 | comment | added | X.Otano | Many thanks, so , following my design, in which layer will you put the validations? | |
| May 30, 2018 at 14:05 | history | answered | candied_orange | CC BY-SA 4.0 |