© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•4y ago•
1 reply
bokoganga

❔ Passing a list of values to Stored Procedure in EF Core

Hey devs,

I would like to know whether it is possible to pass a list of values as a parameter to a stored procedure in EF Core?
I have a list of emails and I want to create a stored procedure to check whether they exist as users in a Users table, if not, create new user for each email.
I want to avoid looping through the list, send request for each email to check if it exists, and then send a request creating new users.

Thank you
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

EF Core Querying a List of Rows
C#CC# / help
4y ago
❔ EF Core Person Task List
C#CC# / help
3y ago
✅ Stored Procedure Help
C#CC# / help
3y ago