Sivakumar

Sivakumar

  • NA
  • 551
  • 217.8k

How to get a table details using linq to sql storedprocedure

Aug 13 2015 1:40 AM
Hi am creating a stored procedure for a table like below
 
Create PROCEDURE uspGetTeam(

@TeamID INT,
@TeamName nvarchar(50),
@TeamStatus int


)
AS
BEGIN
SELECT @TeamID=TeamID, @TeamName=TeamName,@TeamStatus=TeamStatus FROM Team WHERE TeamID=@TeamID
END
 
using these stored procedure to get the details using linq to sql 

Answers (8)