Bltoolkit - Dealing with identity with multiple db's
-
28-10-2019 - |
Question
How do I deal with identity when I'm supporting multiple db's with Bltoolkit. I know that BL supports InsertWithIdentity call with linq whne doing inserts, but I think it only works with Sql Server and in this instance I don't want to use it in this instance
Is their a better way doing. Pehaps creating some kind of identity map to store the last primary key value for a particular entity stored.
Any advice would be helpful. Thanks scope_creep
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow