My Store Procedure (Single Parameter) :
ALTER procedure [dbo].[CountryInsert]
(
@CountName varchar(50)
)
as
begin
INSERT INTO [DevPayPension].[dbo].[Country]
([CountryName])
VALUES
(@CountName)
end
Entity Framework Code this is Single Parameter Pass:
private void InsertData()
{
using (var db = new EFPIMS())
{
db.CountryInsert(TextBox1.Text);
}
}
Now How I can Pass Multiple parameter by Entity Framework ??