Entity Framework 6.1.0 と LINQ to SQL を使用しています
私のオブジェクトグラフ:
Market 1...n MarketAsset n...n CompanyMarket n...1 Company
そう、
Market has a Collection of MarketAsset called MarketAssets
MarketAsset has a collection of CompanyMarket called CompanyMarkets
CompanyMarket has a property name callled Company
Company has a string property called Guid.
私の質問は、Company.Guid プロパティをフィルタリングする必要があることを考慮して、会社が運営するすべての市場のリストを取得するにはどうすればよいですか?
PS1: マーケットのみを返品したい。他の関連エンティティを結果セットに含めたくありません。
PS2: IdeaBlade DevForce も使用しています。
前もって感謝します。
最高の願い、マルコ・アルベス。