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 |
Why do we use “contains"?
What is dbml in linq to sql?
What do you understand by datacontext class?
Explain linq method syntax and give an example?
What is difference among Single, SingleOrDefault, First and FirstOrDefault?
Elaborate on plinq?
What do you understand by expression tree?
List out the three main components of LINQ?
Explain what are compiled queries?
Explain linq lambda expression with example?
Can you explain brief about Aggregate() extension method in LINQ?
Describe the architecture of linq?
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)