Answers for "how to execute stored procedure in c# using entity framework code first"

C#
2

calling stored procedure in c# entity framework

using (var db = new SyXEntities())
{
	var repeatDetails = db.Database.SqlQuery<RepeatBetDetail>("Get_RepeatBetDetails @BetID", new SqlParameter("BetID", betID)).ToList();
	return repeatDetails;
}
Posted by: Guest on August-13-2021

Code answers related to "how to execute stored procedure in c# using entity framework code first"

C# Answers by Framework

Browse Popular Code Answers by Language