Timeline for Designing asp.net core web api to add sub classes/specialized objects
Current License: CC BY-SA 4.0
14 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 4, 2022 at 23:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Apr 6, 2022 at 22:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Dec 7, 2021 at 22:06 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Aug 10, 2021 at 8:33 | comment | added | Flater | I don't have time to write an answer right now, but look into table-per-type mapping in EF Core, which enables you to use actual inheritance as opposed to 1-1 related entities. If you use TPT, the range of viable answers shifts in favor of a more standard OOP approach. | |
| Aug 9, 2021 at 22:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Apr 11, 2021 at 21:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Dec 12, 2020 at 20:07 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Aug 14, 2020 at 20:03 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Jul 15, 2020 at 19:32 | answer | added | Plamen Yordanov | timeline score: 1 | |
| Jul 14, 2020 at 11:47 | comment | added | Nikolaus | I understand, but that's not what I meant. If you could show the Code of your MediaType and of how theoretically your Post-Method would look like, I can show you in an answer, what I meant. | |
| Jul 13, 2020 at 21:07 | comment | added | Veverke | My concern was that POCO objects should not, theoretically have inheritance. I read this. I then realized I should be using composition in each of the specialized types adding a Media object as a navigation property to each. This way I achieve no code duplication while following EF practices. Am checking... | |
| Jul 13, 2020 at 21:03 | comment | added | Nikolaus | Firstly, could you provide the code of the MediaType-Class/-Struct/-Enum? A Generic Media-Base-Controller, and an IMedia-Interface could help, to prevent duplicating code. | |
| Jul 13, 2020 at 20:46 | history | edited | Veverke | CC BY-SA 4.0 | added 40 characters in body |
| Jul 13, 2020 at 19:53 | history | asked | Veverke | CC BY-SA 4.0 |