Answer Overflow Logo
Change Theme
Search Answer Overflow
GitHub
Add Your Server
Login
Home
Popular
Topics
Gaming
Programming
Adam
Posts
Comments
C
C#
•
Created by Adam on 2/19/2025 in
#help
✅ [solved] efcore owned entity issue
thanks
8 replies
C
C#
•
Created by Adam on 2/19/2025 in
#help
✅ [solved] efcore owned entity issue
class
A
{
private
List
<
B
>
bList
=
[];
public
AddB
(){
bList.
Add
(
new
B
(Guid.
NewGuid
()));
}
}
class
A
{
private
List
<
B
>
bList
=
[];
public
AddB
(){
bList.
Add
(
new
B
(Guid.
NewGuid
()));
}
}
A looks like this B.Id is always unique so it can be the only key afaik
8 replies