Click here to Skip to main content
15,885,116 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Can someone help me on this: I have created a stored procedure in SQL Server and i want to expose it in Silverlight so i can execute it from there. The Stored procedure is used to update a value of a primary key, which Entity Framework(in Silverlight) does not support. Here is the Strored procedure:

CREATE PROCEDURE [dbo].[ReplaceFieldAgent]

@CurrentBeneficiaryID varchar(50),
@NewBeneficiaryID varchar(50)
AS
BEGIN

Update FieldAgent Set Beneficiary_ID = @NewBeneficiaryID Where Beneficiary_ID = @CurrentBeneficiaryID

END
Posted
Updated 19-Dec-13 22:50pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900