以下查询有一个参数需要分配一个字符串列表:
我有一个C#的
假设有一个代表上述查询的
select * from a_table where something in :list_of_strings
我有一个C#的
List<string>
,我想将它赋值给 list_of_strings
参数。假设有一个代表上述查询的
OracleCommand
,我该如何将我的 List<string>
绑定到命令的 list_of_strings
参数?