以下は私のクラス構造です
public class ProductInfo
Dim productName As string
Dim productCode As string
Dim Locations As List(of String)
End Class
製品リストの取得
Dim listProd As List(of ProductInfo)= entityProvider.GetProducts();
私のコレクションには 50 個の製品が含まれており、各製品にはいくつかの場所があります。Linq を使用してこのコレクションをクエリして、個別のサブコレクションを取得するにはどうすればよいですか (すべてLocations
の製品に対してすべてですが、個別です。2 つの製品が同じ場所に表示されるため)。
.NET 3.5 CEを使用しています
前もって感謝します。