Search

You searched for the word(s): userid:429321

Matching Posts

  • Re: Getting the Identity of the last Inserted row!

    Based on a quick look, this seems about right. DLinq should take care of flowing the autogen id to related objects if they are mapped correctly (Blinq will do this if you have a foreign key relationship). Thanks. Dinesh
    Posted to Blinq Preview (Forum) by Dinesh.Kulkarni on 8/7/2006
  • Re: Getting the Identity of the last Inserted row!

    Sorry, there is no non-SQL way to get the last auto-generated identity in the db. Typically, Blinq/DLinq can handle multiple inserts in a concurrent environment and hence within the scope of a DataContext, the last id is really not applicable. Hence we have not added an API. If you are inserting a single object, then the id of that object is patched up using @@identity/scope_identity. So if you are looking for the id of the inserted object, that is available. If you are looking for the last, database
    Posted to Blinq Preview (Forum) by Dinesh.Kulkarni on 8/6/2006
Page 1 of 1 (2 items)