すいません、VB4しかやってないんです、VBAはやったけど(ぼそ) チラシの裏だって立派な書き込み空間なんだからねっ!資源の有効活用なんだからねっ!とか偉そうに言ってるけど、実は色々と書き残したいだけ

だからなに? どうしろと? くるみサイズの脳みそしかないあやしいジャンガリアンベムスターがさすらう贖罪蹂躙(ゴシックペナルティ)

ホーム 連絡をする 同期する ( RSS 2.0 ) Login
投稿数  632  : 記事  35  : コメント  8373  : トラックバック  143

ニュース


片桐 継 は
こんなやつ

かたぎり つぐ ってよむの

大阪生まれ河内育ちなんだけど
関東に住みついちゃったの
和装着付師だったりするの
エセモノカキやってたりするの
VBが得意だったりするの
SQL文が大好きだったりするの
囲碁修行中だったりするの
ボトゲ好きだったりするの
F#かわいいよF#

正体は会った人だけ知ってるの

空気読まなくてごめんなさいなの


わんくまリンク

C#, VB.NET 掲示板
C# VB.NET掲示板

わんくま同盟
わんくま同盟Blog


WindowsでGo言語
WindowsでGo言語


ネット活動


SNSは疲れました

記事カテゴリ

書庫

日記カテゴリ

ギャラリ

イベント活動

プログラムの活動

意外とはまったのでメモ。

やりたいこと。

とあるクラスのリスト、クラスには集約キーのプロパティが複数あって、データ部のレコードが存在してる。

これをキーでまとめて、データ部をリスト化したクラスのリストにまとめたい。

で、書いてみたサンプルがこれ。

Dim c = From x As SampleRecord In samples
                Group x By x.Key1, x.Key2, x.Key3
                Into Datas = Group
                Select New Hoge With {
                    .Key1 = Key1,
                    .Key2 = Key2,
                    .Key3 = Key3,
                    .Datas = Datas.Select(Function(f)
                                              Return New DetailData With {
                                                                .Data1 = f.Data1,
                                                                .Data2 = f.Data2,
                                                                .Data3 = f.Data3
                                                               }
                                          End Function).ToList
                    }

hogeクラスにはキーで集約されて、データ部にリスト化されたDetail情報が集まる

投稿日時 : 2016年6月11日 22:05

コメント

# aqinga17.11.27 2017/11/27 19:12 aqinga
http://www.kruz-graphix.com/ Kruz-graphix
http://www.pandoraaustralia.net/ pandora australia
http://www.katespadeoutletonline.net/ kate spade outlet online
http://www.pandora-bracelets.us pandora bracelets charms
http://www.nesu.fr/ Air Jordan Femme
http://katespade.throngo.com.au/ kate spade australia
http://www.balenciagaoutlet.us/ balenciaga outlet
http://www.prada-outlet.co prada outlet online
aqinga17.11.27

# tes 2017/12/09 18:36 Galang
http://www.jualbesibetonhargapabrikmurah.com/category/besi-beton-pas-ulir-polos/ Supplier besi beton PAS
http://www.pusatbesibaja.co.id/harga-plat-kapal-besi-baja-supplier-jual-toko-agen-pabrik-distributor Jual plat kapal besi baja
http://www.pusatbesibaja.com/harga-plat-kapal-besi-baja-supplier-pabrik-toko-jual-produsen-distributor-agen Jual plat kapal besi baja
http://ironsteelcenter.com/category/stainless-steel-ss-sus-304-210-316-310-301-stenlis Agen stainless steel
http://www.jualbesibajamurah.com/harga-besi-siku-profil-baja-produsen-agen-supplier-pabrik-distributor-jual-toko Jual besi siku baja
http://www.pusatbesibaja.co.id www.pusatbesibaja.co.id
http://www.undangancinta.com undangan pernikahan arab
http://www.sentrabesibaja.com/pipa-besi-baja-sch-40-schedule/ Toko Besi Pipa Baja Schedule 40
http://ironsteelcenter.com/pipa-besi-hitam-medium-sch-schedule-40-80-a53-seamless-welded-wiremesh-wermesh-cakar-ayam-m4-m5-m6-m7-m8-m9-m10-m11-m12-ss400-a36-stainless-stenliss-stainlis-stainles-stenlis-alumunium-tembaga-sus304/harga-pabrik-supplier-jual-distributor-agen-bakrie-spindo-import Agen Pipa Besi baja Schedule sch 80
http://www.gudangbesibaja.com/daftar-harga-besi-baja-kanal-u-unp-daftar-tabel Jual besi unp baja
http://www.jualbesibetonhargapabrikmurah.com/category/besi-beton-master-steel-ms-ulir-polos/ Supplier besi beton master steel ms
http://www.pusatbesibaja.co.id/harga-plat-kapal-besi-baja-supplier-jual-toko-agen-pabrik-distributor Supplier plat kapal besi baja
http://www.pusatbesibaja.com/harga-plat-kapal-besi-baja-supplier-pabrik-toko-jual-produsen-distributor-agen Supplier plat kapal besi baja
http://ironsteelcenter.com/category/spandek Agen atap spandek
http://www.jualbesibajamurah.com/harga-besi-siku-profil-baja-produsen-agen-supplier-pabrik-distributor-jual-toko Supplier besi siku baja
http://www.pusatbesibaja.com www.pusatbesibaja.com
http://www.undangancinta.com undangan pernikahan kalender
http://www.sentrabesibaja.com/pipa-besi-hitam-medium-galvaniz/ Toko Pipa Besi Hitam Medium
http://ironsteelcenter.com/pipa-besi-hitam-medium-sch-schedule-40-80-a53-seamless-welded-wiremesh-wermesh-cakar-ayam-m4-m5-m6-m7-m8-m9-m10-m11-m12-ss400-a36-stainless-stenliss-stainlis-stainles-stenlis-alumunium-tembaga-sus304/harga-pabrik-supplier-jual-distributor-agen-bakrie-spindo-import Toko Pipa Besi baja Schedule sch 80
http://www.gudangbesibaja.com/daftar-harga-besi-baja-kanal-u-unp-daftar-tabel Supplier besi unp baja
http://www.jualbesibetonhargapabrikmurah.com/category/besi-beton-ksty-ulir-polos/ Supplier besi beton ksty
http://www.pusatbesibaja.co.id/harga-plat-kapal-besi-baja-supplier-jual-toko-agen-pabrik-distributor Toko plat kapal besi baja
http://www.pusatbesibaja.com/harga-plat-kapal-besi-baja-supplier-pabrik-toko-jual-produsen-distributor-agen Toko plat kapal besi baja


# re: Ruby で数値を 0 埋めする 2019/01/24 13:48 zzyytt
http://www.airmax90.us.org
http://www.goyard-handbags.us.com
http://www.michaeljordanshoes.us.com
http://www.adidasnmds.com
http://www.vans-outlet.us.com
http://www.adidasshoesonline.com
http://www.russellwestbrookshoes.us.com
http://www.adidasnmds.us.com
http://www.nike-hyperdunk.us.com
http://www.goldengoose-outlet.us.com
http://www.jordan11retro.us.com
http://www.nikehuaracheshoes.us.com
http://www.bape-hoodie.us.com
http://www.curry5shoes.net
http://www.hermesbelts.co.uk
http://www.fila-shoes.us.com
http://www.jordanshoes.org.uk
http://www.guccibelt.us.com
http://www.adidaseqts.com
http://www.yeezy-shoes.org.uk


# hewojenlx@hotmaill.com 2019/04/05 3:53 Cowboys Jerseys Cheap
wxqodrjn,Thanks for sharing this recipe with us!!

# qweaxkf@hotmaill.com 2019/04/08 18:30 Nike Outlet Store
ejbpig,A very good informative article. I've bookmarked your website and will be checking back in future!

# scnitzexhb@hotmaill.com 2019/04/23 3:40 Salomon Shoes
According to people familiar with the matter, Apple Music's US subscription fee has surpassed Spotify, and this change has made the two music competitors' global competition for users. Apple's streaming music service is growing faster in the world's largest music market than its Swedish competitors, with a monthly growth rate of about 2.6% to 3%, while Spotify's users are growing at a rate of 1.5% to 2% per month.

# clhkcr@hotmaill.com 2019/04/29 21:03 Cheap NFL Jerseys
On April 3, there were zero sitting white congressmen in the race for the 2020 Democratic nomination. There were two former male representatives (Beto O’Rourke of Texas and John Delaney of Maryland) and a sitting congresswoman (Tulsi Gabbard of Hawaii), but no men currently serving in the House.

# spbtvnxri@hotmaill.com 2019/05/07 7:15 Nike Pegasus 35
Matthew Linsey, 61, was vacationing with two of his children in Sri Lanka when a coordinated attack unfolded at churches and high-end hotels throughout the country, leaving more than 300 victims dead and hundreds more wounded.

# sylabk@hotmaill.com 2019/05/08 9:57 Vapor Max
"Why do I have to suffer?" Jackson asked. "Why do I have to wake up and she's not here?"

# bdhrptp@hotmaill.com 2019/05/16 6:13 Yeezy Boost 700
http://www.jordan11-concord.com/ Jordan 11 Concord

# ahsacenhfs@hotmaill.com 2019/06/05 13:37 Nike Shox Outlet
http://www.nikepegasus-35.us/ Nike Pegasus

# rlyorn@hotmaill.com 2019/06/12 0:38 Travis Scott Jordan 1
Game Killer Apk Download Latest Version for Android (No Ad) ... Guess not because Game killer full version app is not available on Play store.

# lexhdw@hotmaill.com 2019/06/16 18:59 Nike VaporMax
http://www.nikefactoryoutletstoreonline.us/ Nike Outlet store

# usfkrkwpm@hotmaill.com 2019/06/24 9:39 Cheap NFL Jerseys
http://www.wholesalenfljerseysshop.us/ NFL Jerseys Wholesale

# kfjvpng@hotmaill.com 2019/07/07 8:57 Nike VaporMax Flyknit
http://www.customnfljerseys.us/ custom nfl jerseys

# gxrnui@hotmaill.com 2019/07/15 4:16 Adidas Yeezy
http://www.yeezy-shoes.in.net/ Yeezy Shoes

Post Feedback

タイトル
名前
Url:
コメント