Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
𝐃𝐞𝐫𝐢𝐬𝐨𝐧
Posts
Comments
C
C#
•
Created by 𝐃𝐞𝐫𝐢𝐬𝐨𝐧 on 6/16/2023 in
#help
❔ [EF Core] Ignore properties from constructor of base class
okay i see, i'll keep that in mind. thank you guys so far
25 replies
C
C#
•
Created by 𝐃𝐞𝐫𝐢𝐬𝐨𝐧 on 6/16/2023 in
#help
❔ [EF Core] Ignore properties from constructor of base class
already prepared that for the
PlayerDB
Id = Guid.NewGuid().ToString();
Id = Guid.NewGuid().ToString();
sadly, the
Player
class isn't even meant to be a database model. i just hoped i could make it fit for me, you know
25 replies
C
C#
•
Created by 𝐃𝐞𝐫𝐢𝐬𝐨𝐧 on 6/16/2023 in
#help
❔ [EF Core] Ignore properties from constructor of base class
okay, thanks for the tips guys. so the better approach would be to create an extra e.g.
PlayerDB
class, which can be constructed from
PlayerV
which just handles the database stuff?
25 replies