You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the pattern here I am trying to seed an ibject that contains another collection... Details here.. Any help is grat.. Meanwhile Ill try removing all the EntityBase stuff to see if thats the problem.
Thank you for your report. Let me see what is the error and how we can manage it. During this time if you solved that could you please send me your pull request over github ?
publicoverrideboolEquals(object?obj){if(obj isnull){returnfalse;}if(ReferenceEquals(this, obj)){returntrue;}if(GetType()!= obj.GetType()){returnfalse;}if(obj is not EntityBase<TId> entity){returnfalse;}return Id.Equals(entity.Id);// requires IEquatable<TId> generic constraint}publicstaticbooloperator==(EntityBase<TId>left,EntityBase<TId>right){return left is not null&& right is not null&& left.Equals(right);}
Using the pattern here I am trying to seed an ibject that contains another collection... Details here.. Any help is grat.. Meanwhile Ill try removing all the EntityBase stuff to see if thats the problem.
https://stackoverflow.com/questions/58595744/why-does-adding-more-than-1-item-to-this-collection-in-efcore-cause-a-stack-over
The text was updated successfully, but these errors were encountered: