Answers for "how to use stored procedure in entity framework database 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 use stored procedure in entity framework database first"

C# Answers by Framework

Browse Popular Code Answers by Language