Convert from stored procedure to List (Linq)

  • Thread starter Thread starter Mehdi Taii
  • Start date Start date
M

Mehdi Taii

Guest
i need to convert my stored procedure to list i am using (Linq). This my Procedure in Visual studio (LIST_COMPANY_Result) , in this stored proceudre i have a prametre i declared id int But i don't know when i am use it. this my db entities DB_Entities1 db = new DB_Entities1(); and when i need to call here in my code to execute my stored i do like this : db.LIST_COMPANY(here Company id)

this my Code

public List<LIST_COMPANY_Result> GetCompany(int id)
{
return new List<LIST_COMPANY_Result>() {};
}

Continue reading...
 
Back
Top