次のコード実装のいずれかでパフォーマンスが向上しますか?それとも実際には問題になりませんか?
public class Content
{
public Content()
{
Topics = new List<Topic>();
}
public int ContentId { get; set; }
//Navigation Properties
public ICollection<Topic> Topics { get; set; }
}
と
public class Content
{
public Content()
{
Topics = new HashSet<Topic>();
}
public int ContentId { get; set; }
//Navigation Properties
public ICollection<Topic> Topics { get; set; }
}
MSDN の例は、違いがあるかどうか疑問に思っているだけで、それらを混同しています。