Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Jiří Činčura
> Stacktrace of the inner exception: > >bei >System.Data.Entity.Core.Mapping.Update.Internal.UpdateTranslator.Update() >bei > > System.Data.Entity.Core.EntityClient.Internal.EntityAdapter.b__2(UpdateTranslator >ut) >bei >System.Data.Entity.Core.EntityClient.Internal.Ent

Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Nikolaus Kern
Thanks Niko -Ursprüngliche Nachricht- Von: Jiří Činčura [mailto:j...@cincura.net] Gesendet: Dienstag, 1. August 2017 11:52 An: firebird-net-provider@lists.sourceforge.net Betreff: Re: [Firebird-net-provider] Handling Errors with EF > If I want to loop through the navigation property d

Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Jiří Činčura
> If I want to loop through the navigation property directy (without > copying it to another List) is there a way to do this? I don#t > understand the collection changed error, because I do not add or remove > an item from the list. I am changing the Entitystate. What's the exception stack trace?

Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Nikolaus Kern
@lists.sourceforge.net Betreff: Re: [Firebird-net-provider] Handling Errors with EF > I would like to understand if there is a better way to handle the > relation between the main entitiy and navigation properties when a > SaveChanges() fails. It's generally expected that every change in DbContext

Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Jiří Činčura
> I would like to understand if there is a better way to handle the > relation between the main entitiy and navigation properties when a > SaveChanges() fails. It's generally expected that every change in DbContext (and hence in UOW) will be saved. The user will eventually fix all validation viola

Re: [Firebird-net-provider] Handling Errors with EF

2017-08-01 Thread Nikolaus Kern
navigation properties when a SaveChanges() fails. Niko -Ursprüngliche Nachricht- Von: Jiří Činčura [mailto:j...@cincura.net] Gesendet: Montag, 31. Juli 2017 16:09 An: firebird-net-provider@lists.sourceforge.net Betreff: Re: [Firebird-net-provider] Handling Errors with EF What do you mean

Re: [Firebird-net-provider] Handling Errors with EF

2017-07-31 Thread Jiří Činčura
What do you mean by "gentle way". You want to skip that record? Or skip all pending changes? Also do you have proxy creation enabled? -- Mgr. Jiří Činčura https://www.tabsoverspaces.com/ -- Check out the vibrant tech c