Hi
My code goes like this:
String[] nameArr = { "John", "David", "Dan" };
OracleCommand cmd = new OracleCommand();
cmd.CommandText = "INSERT INTO T(ID, NAME) VALUES(:1, :2)";
//cmd.Parameters.Add(new OracleParameter(":1", ...));
cmd.Parameters.Add(new OracleParameter(":2", ..., nameArr, ...));
cmd.ArrayBindCount = 3;
ActionQuery aq = new ActionQuery(...);
Now, I need to initialize the first parameter (":1") with a new value from a sequence, and moreover - I need it to be performed for each row in a single round-trip. In short, the final result should be 3 new rows in DB.
Does somebody have an idea?
- No LLBLGen entity exists for the table "T", thats why I use ActionQuery.