On Nov 30, 12:45 am, José F. Romaniello <
> 2010/11/29 Stefano <
ste...@gmail.com>
>
> > In a situation like this, all the intermediate savings of the edited
> > items (that have to be committed to the database) can be handled with
> > a method that behaves as EndMode.CommitAndContinue?
>
> > yes, that's correct.
> > And at the same time, a method that behaves as EndMode.End must be
> > called anyway?
>
> no, you don't need.
>
> If I have to call it, I think that the close event of the form could
>
> be a possible place... is this correct?
>
> you don't need it.
>
> And another doubt (related to this): what happens if instead of using
>
> a method that behaves as EndMode.CommitAndContinue, I use directly a
>
> method as EndMode.End, calling in this way the End several times?
>
> Is this wrong? I looked at Josè Romaniello's Chinook WPF sample, in
>
> his implementation (or actually, the old one of several months ago,
>
> described in his blog) it's possible to press the "Save All" button
>
> several times, so the End button is called more than once... is this
>
> ok?
>
> not good, because "End", flush and *dispose* the session... What happen if