Hi,
I have table with sequence and trigger so it creates new id when inserting it to the DB.
How can I get the new object id, before calling SaveChanges()?
I need this id for the links between the new object and other objects.
I want to do it before calling SaveChanges because I want to have the option to rollback.
Can someone solve this problem?
Thanks!