![]() ![]() Stack Trace: at .InternalContext.SaveChanges()Īt .LazyInternalContext.SaveChanges()Īt .SaveChanges()Īt .EFWorkspace.CommitChanges()Īt .Entit圜ollectionViewModelBase`2.b_0_3(EventParameters`1 x)Īt .EventSubscription`1.InvokeAction(Action`1 action, TPayload argument)Īt .EventSubscription`1.c_Displa圜lass2.b_0(Object arguments)Īt .EventBase.InternalPublish(Object arguments)Īt .CompositePresentationEvent`1.Publish(TPayload payload)Īt .ExtensionMethods.Publish(TEventsubject eventArgs, String eventTopic, Action expectedAction) Handling of exceptions while saving can be made easier by exposing foreign key properties in your entity types. The EntityEntries property will return null because a single entity cannot be identified as the source of the exception. Message: An error occurred while saving entities that do not expose foreign key properties for their relationships. ![]() Stack Trace: at (Object target, Object arguments, Signature sig, Boolean constructor)Īt (Object obj, Object parameters, Object arguments)Īt (Object args)Īt .InternalRealCall(Delegate callback, Object args, Int32 numArgs)Īt .Tr圜atchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) Message: Exception has been thrown by the target of an invocation. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |