私は2つIEnumerables
呼び出しIEnumerable<TBL_Country>
ておりIEnumberable<TBL_City>
、それらのテーブル定義はORMからのもので、IEnumerablesに参加するために次の式関数を実行したいのですが、それは不可能です。何か案が!
IEnumerable<TBL_COUNTRY> country = new IEnumerable<TBL_Country>();
IEnumerable<TBL_COUNTRY> city = new IEnumerable<TBL_CITY>();
Expression<Func<TBL_COUNTRY,TBL_CITY,bool>> func =
(p,q) => p.fk_city_id = q.pk_city_id & p.name = "SomeName";