I have and xml
message that contains an array of string data, smth like this :
<DataList>
<Data>some data no 1</Data>
<Data>some data no 2</Data>
</DataList>
I store it in my 2 classes:
[XmlElement("DataList")]
public DataList DataList { get; set; }
and for the array:
public struct DataList
{
[XmlElement]
public string Data { get; set; }
}
So , i need to pass this array as an input parmater
to my oracle stored procedure
How am I suppose to do that, both on oracle and c# sides? (by creating a table\refcursor in oracle and passing them as a ref cursor? or by using for
loop?)
parameter.Add("Data", OracleDbType.-don't know-).Value = DataList.Data; or just DataList?