𝐃𝐞𝐫𝐢𝐬𝐨𝐧
𝐃𝐞𝐫𝐢𝐬𝐨𝐧
CC#
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
CC#
Created by 𝐃𝐞𝐫𝐢𝐬𝐨𝐧 on 6/16/2023 in #help
❔ [EF Core] Ignore properties from constructor of base class
already prepared that for the PlayerDB awesome
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
CC#
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