I am working on C # .net 4.0 and using NHibernate I'm talking to Oracle DB. You would think something as simple as it was already somewhere, but, unfortunately, it is not. I need NextVal from an Oracle sequence. I do not need to insert it into the database as part of an identifier or primary key. I just need to use the following val on the C # side.
Can someone help me with an xml mapping and a C # file (or link) to achieve this.
Thanks.
Sort of
int NextValueOfSequence = GetNextValueofSequence(); public int GetNextValueOfSequence() {
source share