Adam
Adam
CC#
Created by Adam on 2/19/2025 in #help
✅ [solved] efcore owned entity issue
thanks
8 replies
CC#
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