Answers for "entity framework stored procedure mvc c#"

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 "entity framework stored procedure mvc c#"

C# Answers by Framework

Browse Popular Code Answers by Language