Exception: 不可更新,未设置主键的值:(0, {"ObjType":100}, , xxx, 2024/3/22 9:34:10, 2024/3/22 9:35:20, 2024/3/22 9:34:10, 0, 6, False, , System.Collections.Generic.List`1[System.Int32])
StackTrace:
在 FreeSql.DbSet`1.Update(TEntity data)
在 FreeSql.BaseRepository`1.Update(TEntity entity)
在 IntelliTools.Domain.Favorite.FavorItemDatabase.Update(FavorItem item)
在 IntelliTools.Domain.Favorite.FavorItemHelper.MoveTo(FavorItem item, FavorItem target, Int32 index)
在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
在 System.Windows.Controls.MenuItem.InvokeClickAfterRender(Object arg)
在 System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
在 System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)