How to pass List as Parameter to call oracle stored procedure in C#

I am using oracle as Database and front end coding is c# with Entity Framework.
Actually My task is (Search) based on selected criteria then I want to display Results..

So my plan is I want to send Search criteria to Oracle Stored Procedure.

So I need Below information with Example:
Search criteria - LIST (Multiple Search Values) - How to call Oracle Stored Procedure of type list?

How to retrieve this search criteria in Oracle Stored Procedure?

Could you please give one example for this

Thanks in Advance
ganeahdevAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PortletPaulfreelancerCommented:
define "list"

is that a list like a "to do list":
to do
1. describe problem
2. provide sample data
3. supply "expected result"
or is it "comma separated list" like this:
         ('a','b','c','f','k','y')

I also suggest you provide "sample data" and the "expected result" (that you would expect from the sample), see the to do list above
0
slightwv (䄆 Netminder) Commented:
Personally I would write the procedure to accept only one parameter, a CLOB.

I would pass in an XML document that has ALL the criteria you would ever want/need.

Then it is a very simple process to use XMLTABLE to extract the values inside the procedure then execute the query.

I would also look at having the results returned as XML in a CLOB.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.