@Parameter = (some_value)
select * from C1
where C1.number =
(select number from C2
where id = @Parameter)
pointers to good resources for learn the concepts of linq to entities will also be helpful. Thanks
@Parameter = (some_value)
select * from C1
where C1.number =
(select number from C2
where id = @Parameter)
pointers to good resources for learn the concepts of linq to entities will also be helpful. Thanks
次の形式を使用できます。
var p = parameter;
from c in C1
where C.number == ( from x in C2
where x.id == p
select x).FirstOrDefault()
select c;
これは、LinqToEntitiesの例を含む公式のMSDNドキュメントです。