Execute Store Procedure in entity framework c#

// Parameters
 SqlParameter[] paramList = new SqlParameter[2];
 paramList[0] = new SqlParameter("RowId", 6);
 paramList[1] = new SqlParameter("Name", "Test");
 
  // Pass connection string name when you are creating object for  DbContext 
  using (DbContext dbContext = new DbContext("name=defaultConnection"))
  {
       List lst = dbContext.Database.SqlQuery("SP_GetCustomer @RowId, @Name", paramList).ToList();
  }