0
var svc = new LocationDataServiceContext();
var q = from c in svc.LocationTable
where c.ID == int.Parse(location.ID)
select c;
if (q.ToArray().Length == 0)
거기에 더 좋은 방법이 있나요?행이 있는지 확인하려면 어떻게 ado.net dataservice를 사용합니까?
Exist() 메서드는 IList 또는 해당베이스 중 하나입니다. 그러나 목록으로 변환하면 모든 레코드를 가져올 수 있습니다. –
bytebender