Click here to Skip to main content
15,896,726 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Frds,
how can i update in single Table by using Two Id's in Wcf Service...
hear i can try this

SQL
var EmplyeeCompany = IMyEntities.EmployeeCompanies.Where(t1 => t1.CompanyId == updateProviderScheduleRequest.EmployeeCompany.CompanyId)
              .SelectMany(t1=>ICloudBizEntities.EmployeeCompanies.Where(t2 => t2.ProviderId == updateProviderScheduleRequest.EmployeeCompany.ProviderId))
              .FirstOrDefault();


but in the EmployeeCompany Table First Row is Updated...


plz help me
Posted

1 solution

use the && symbals it working....
 
Share this answer
 

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