Exception:不可更新,未设置主键的值:(0, {"FileList":["D:\\微信\\WeChat Files\\wxid_7mouyfp0qrut12\\FileStorage\\Temp\\c8abd6e367a854779d7a01eceeefaa8.jpg"],"ObjType":2}, , , 2025/7/31 10:40:22, 2025/7/31 10:40:22, 2025/8/9 10:36:31, 4, 481, False, , )

报错信息 1
Exception: 不可更新,未设置主键的值:(0, {"FileList":["D:\\微信\\WeChat Files\\wxid_7mouyfp0qrut12\\FileStorage\\Temp\\c8abd6e367a854779d7a01eceeefaa8.jpg"],"ObjType":2}, , , 2025/7/31 10:40:22, 2025/7/31 10:40:22, 2025/8/9 10:36:31, 4, 481, False, , )
StackTrace:
   在 FreeSql.DbSet`1.Update(TEntity data)
   在 FreeSql.BaseRepository`1.Update(TEntity entity)
   在 IntelliTools.Domain.Favorite.FavorItem.RepoUpdate()
   在 IntelliTools.Domain.Favorite.FavorItem.Execute(IntPtr owner)
   在 IntelliTools.View.Favorite.FavorItemListControl2.ExecuteSelectedItem()
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.ReRaiseEventAs(DependencyObject sender, RoutedEventArgs args, RoutedEvent newEvent)
   在 System.Windows.UIElement.OnMouseUpThunk(Object sender, MouseButtonEventArgs e)
   在 System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
   在 System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
   在 System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
   在 System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
   在 System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
   在 System.Windows.Input.InputManager.ProcessStagingArea()
   在 System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
   在 System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
   在 System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
   在 System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
   在 MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
   在 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)

版本:1.43.19 2025-08-09 10:36 Microsoft Windows NT 6.1.7601 Service Pack 1