How to insert value in Sequence column without using Trigger

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
nidhi.bhargava
Posts: 1
Joined: Mon 22 Nov 2010 12:03

How to insert value in Sequence column without using Trigger

Post by nidhi.bhargava » Mon 22 Nov 2010 12:13

To insert value in Sequence column everywhere I have found only one solution that create trigger and set StoreGeneratedPattern="Identity" attribute.

Is there any other way to insert value in Sequence column without using Trigger because due to some restrictions we connot create Trigger for insert in Sequence column.

Thanks in advance!

AndreyR
Devart Team
Posts: 2919
Joined: Mon 07 Jul 2008 13:16

Post by AndreyR » Mon 22 Nov 2010 17:56

I have described a solution for a similar problem here at our forum
In case you are restricted to create procedures in DB, there is a CommandText option in Entity Developer.
CommandText is a SP analogue, but it's stored in SSDL, not in DB.

Post Reply