Exception: FreeSql: Not deletable, no value for primary key set: (0, {"Text":"mongod --port=27887 --dbpath=/etc/mongodb/data --logpath=/etc/mongodb/log/mongodb.log --bind_ip=0.0.0.0 --fork","ObjType":1}, , , 3/18/2025 14:25:37, 3/18/2025 14:25:37, 3/18/2025 14:28:22, 1, False, , 0)
StackTrace:
at FreeSql.DbSet`1.CanRemove(TEntity data, Boolean isThrow)
at FreeSql.DbSet`1.CanRemove(IEnumerable`1 data, Boolean isThrow)
at FreeSql.DbSet`1.RemoveRange(IEnumerable`1 data)
at FreeSql.DbSet`1.Remove(TEntity data)
at FreeSql.BaseRepository`1.Delete(TEntity entity)
at IntelliTools.View.Clipboard.ClipItemListControl.DistinctItems()
at IntelliTools.Domain.Menu.MenuItemWrapper.InternalClick(Object sender, RoutedEventArgs args)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)