【发布时间】:2013-02-10 14:39:54
【问题描述】:
以下查询有一个要分配字符串列表的参数:
select * from a_table where something in :list_of_strings
我有一个 C# List<string>,我想将它分配给 list_of_strings 参数。
给定一个OracleCommand(代表上述查询),我如何将我的List<string> 绑定到命令的list_of_strings 参数?
【问题讨论】:
-
不确定这个问题是否类似于stackoverflow.com/questions/6155146/…。
-
这可能会对您有所帮助。 asktom.oracle.com/pls/asktom/…