Yes, but what kind of operation I can use to proceed an input query from 
data base and manage Rows to add new column row["ID"] recieving a value 
from query ?

like this
cmd = "Select MySequence.NEXTVAL from DUAL"

execute this and set

row["ID"] = reader["ID"];

I try to use AbstractCommandOperation. but i had problems with connections 
closed.

this is how a tried to do...

    public override IEnumerable<Row> Execute(IEnumerable<Row> rows)
        {
            using (Connection)
            {
                using (Command)
                {
                    foreach (var row in rows)
                    {
                        Command.CommandText = string.Format("SELECT 
Sequence.NEXTVAL as ID FROM DUAL");

                        using (Reader)
                        {
                            while (Reader.Read())
                            {
                                row["ID"] = reader["ID"];
                                yield return row;
                            }
                        }
                    }
                }
            }
        }

Thank's again

-- 
You received this message because you are subscribed to the Google Groups 
"Rhino Tools Dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rhino-tools-dev/-/8xyl6E6yZ3AJ.
To post to this group, send email to rhino-tools-dev@googlegroups.com.
To unsubscribe from this group, send email to 
rhino-tools-dev+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rhino-tools-dev?hl=en.

Reply via email to