Answers for "execute stored procedure entity framework"

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 "execute stored procedure entity framework"

C# Answers by Framework

Browse Popular Code Answers by Language