Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

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;
}
 
PREVIOUS NEXT
Tagged: #calling #stored #procedure #entity #framework
ADD COMMENT
Topic
Name
7+5 =