Re: Context Commits

From: Tore Halset (halse..vv.ntnu.no)
Date: Fri Nov 19 2004 - 01:55:12 EST

  • Next message: Dirk Wellmann: "Fw: Re: Context Commits"

    On Nov 19, 2004, at 03:58, Gary Jarrel wrote:

    > The ideal situation would be to set a limit that keeps the objects in
    > an
    > uncommitted state until there are for example 10 records (or some other
    > defined value) to commit and then commits all at once.
    >
    > Would anyone have any ideas on the best way of doing this?

    Are you able to use a common DataContext for all the inserts? If so,
    just commit when you feel to. You can create lots of objects before
    commiting.

    Regards,
      - Tore.



    This archive was generated by hypermail 2.0.0 : Fri Nov 19 2004 - 01:55:19 EST