How to pass parameters to stored procedure using linq?
Answer / Anil Kumar Gupta
To pass parameters to a stored procedure in LINQ, you can use the ObjectResult<T> type from System.Data.Objects namespace and its ExecuteFunction method. You need to specify the name and type of each parameter along with its value.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the difference between the Take and Skip clauses?
What are deferred execution and immediate execution?
What is into in linq?
What is a linq cardiac monitor?
Explain linq to sql?
What is the difference between first () and firstordefault () select methods in linq?
What is the advantage of linq over sql?
What is the linq file extension that interacts with code behind objects.
Explain what are compiled queries?
What is linq in c# and its advantages?
What are different types of operators in LINQ?
what is LINQ? Why is it required?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)