简体   繁体   中英

How to pass name value pair to Oracle from .NET

I need to pass name value pairs containing column name and column values of table to Oracle from c#.net. How can I do this?, I did take a look at this http://my-tech-talk.blogspot.com/2010/01/how-to-pass-arrays-from-net-c-to-oracle.html not sure whether I can use this for two dimensional array.

You can use JSON as a mediator between C# and Oracle.

For your name/value pairs you can use a Dictionary.

Take a look at here for PL/SQL and JSON and here for C# dictionaries and JSON.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM