Soumettre la recherche
Mettre en ligne
Linq初階
•
Télécharger en tant que PPTX, PDF
•
2 j'aime
•
423 vues
國昭 張
Suivre
Linq初入門時所需要瞭解及注意的基本功
Lire moins
Lire la suite
Technologie
Signaler
Partager
Signaler
Partager
1 sur 18
Télécharger maintenant
Recommandé
深入介紹Linq的應用
Linq實戰
Linq實戰
國昭 張
Hb1004 function3
Hb1004 function3
jiannrong
深入描述Entity Framework的DB First
Entity Framework實戰
Entity Framework實戰
國昭 張
Thaba Nchu Business Network session
Thaba Nchu Business Network session
Keamogetse Kenneth Ngakantsi
digital financial sustainability
Rosalie hoskins digital financial sustainability
Rosalie hoskins digital financial sustainability
TheFuseBox
La palabra "Bullying" se utiliza para describir diversos tipos de comportamientos no deseados por niños y adolescentes, que abarcan desde bromas pesadas,el ignorar o dejar deliberadamente de hacer caso a alguien, los ataques personales hasta los abusos serios.
El bullying.
El bullying.
ximena muñoz
KEEFEKTIFAN TEKNIK STORY TELLING DALAM
KEEFEKTIFAN TEKNIK STORY TELLING DALAM
azizthaba
Feria Pymes Plaza del Sol Del 27 al 30 de Abril de 2017 Email: FeriaPymesPlazaDelSol@gmail.com Link: http://eepurl.com/cCqHfn
Informacion General - Feria Pymes Plaza del Sol - Abril 2017
Informacion General - Feria Pymes Plaza del Sol - Abril 2017
Feria Pymes Costa Rica
Recommandé
深入介紹Linq的應用
Linq實戰
Linq實戰
國昭 張
Hb1004 function3
Hb1004 function3
jiannrong
深入描述Entity Framework的DB First
Entity Framework實戰
Entity Framework實戰
國昭 張
Thaba Nchu Business Network session
Thaba Nchu Business Network session
Keamogetse Kenneth Ngakantsi
digital financial sustainability
Rosalie hoskins digital financial sustainability
Rosalie hoskins digital financial sustainability
TheFuseBox
La palabra "Bullying" se utiliza para describir diversos tipos de comportamientos no deseados por niños y adolescentes, que abarcan desde bromas pesadas,el ignorar o dejar deliberadamente de hacer caso a alguien, los ataques personales hasta los abusos serios.
El bullying.
El bullying.
ximena muñoz
KEEFEKTIFAN TEKNIK STORY TELLING DALAM
KEEFEKTIFAN TEKNIK STORY TELLING DALAM
azizthaba
Feria Pymes Plaza del Sol Del 27 al 30 de Abril de 2017 Email: FeriaPymesPlazaDelSol@gmail.com Link: http://eepurl.com/cCqHfn
Informacion General - Feria Pymes Plaza del Sol - Abril 2017
Informacion General - Feria Pymes Plaza del Sol - Abril 2017
Feria Pymes Costa Rica
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
Duran Hsieh
.net, c#, entity framework,LINQ
Entity framework 與 LINQ
Entity framework 與 LINQ
Sean Lu
Entity framework 入門基礎觀念與實作說明
Entity framework 入門第一課
Entity framework 入門第一課
Sean Lu
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
Duran Hsieh
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
Duran Hsieh
Presentamos el IDSE, un nuevo índice para medir el desarrollo de los países.
P1072014 Un nuevo indicador para medir el desarrollo
P1072014 Un nuevo indicador para medir el desarrollo
VENTURA Contenidos
針對寫asp.net webform 的人介紹asp.net mvc 介紹為什麼使用mvc。 Asp .Net MVC 在 Model View Controller 3個部分開發的時候會用到的內容。 和一些常用的工具、套件、方法。
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
Alan Tsai
概觀介紹Entity Framework和Linq。 demo的版本是EF 5. 在2013年11月1日簡報。
Entity framework + Linq 介紹
Entity framework + Linq 介紹
Alan Tsai
แผนผังมโนทัศน์ ช่วยให้เข้าใจความสัมพันธ์ของลักษณะของสิ่งมีชีวิตในแต่ละอาณาจักร
อาณาจักรสิ่งมีชีวิต
อาณาจักรสิ่งมีชีวิต
กมลรัตน์ ฉิมพาลี
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion de aspectos ambientales
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
Yanet Caldas
2016逢甲大學資訊工程系 .Net C# MVC 教學 with ina lai
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
Duran Hsieh
This slide is presented in DDD Taiwan social group.
8th ddd taiwan study group bounded context integration
8th ddd taiwan study group bounded context integration
國昭 張
This slide talks about how to be a software architect from zero to one. Also, there is a section describe clean architecture that is by uncle Bob. This slide is used in 2nd meetup of local tech community(DDD in Taiwan).
Ddd(meetup 2) ddd with clean architecture
Ddd(meetup 2) ddd with clean architecture
國昭 張
This slide is talking about event storming. I use slide in our social group: DDD in Taiwan.
20190126 ddd-meetup1
20190126 ddd-meetup1
國昭 張
將事件風暴與設計衝刺結合
事件風暴-設計衝刺
事件風暴-設計衝刺
國昭 張
AgileTour Hsinchu 2018 - 工作坊
事件風暴-領域建模
事件風暴-領域建模
國昭 張
This slide describe unit test conception and tools. This slide is for entry level and want learn how to do unit test in practice.
單元測試
單元測試
國昭 張
This slide is for introducing Docker in practice; Including basic operator, Microservice, CI/CD .. etc.
Docker實務
Docker實務
國昭 張
This slide explains scrum and agile essential and also how to use kanban to expose your team's problem.
Scrum essential
Scrum essential
國昭 張
This slide talk about more details about Docker and what is Docker Swarm mode. There are also some examples in this slide, you can follow them to practice.
Docker進階探討
Docker進階探討
國昭 張
Introduce Vue.js 2.0 and its family: Vue-Route, Vuex
Vue
Vue
國昭 張
introduce docker's usage; it includes Docker basic knowledge. this slide also has operations of Docker image and Docker container.
Docker基礎
Docker基礎
國昭 張
Contenu connexe
En vedette
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
Duran Hsieh
.net, c#, entity framework,LINQ
Entity framework 與 LINQ
Entity framework 與 LINQ
Sean Lu
Entity framework 入門基礎觀念與實作說明
Entity framework 入門第一課
Entity framework 入門第一課
Sean Lu
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
Duran Hsieh
Short-term Training Course For Beginners in Feng Chia University Including: Web Applicatiion, ASP .Net C# MVC 4 ,Database , IIS
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
Duran Hsieh
Presentamos el IDSE, un nuevo índice para medir el desarrollo de los países.
P1072014 Un nuevo indicador para medir el desarrollo
P1072014 Un nuevo indicador para medir el desarrollo
VENTURA Contenidos
針對寫asp.net webform 的人介紹asp.net mvc 介紹為什麼使用mvc。 Asp .Net MVC 在 Model View Controller 3個部分開發的時候會用到的內容。 和一些常用的工具、套件、方法。
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
Alan Tsai
概觀介紹Entity Framework和Linq。 demo的版本是EF 5. 在2013年11月1日簡報。
Entity framework + Linq 介紹
Entity framework + Linq 介紹
Alan Tsai
แผนผังมโนทัศน์ ช่วยให้เข้าใจความสัมพันธ์ของลักษณะของสิ่งมีชีวิตในแต่ละอาณาจักร
อาณาจักรสิ่งมีชีวิต
อาณาจักรสิ่งมีชีวิต
กมลรัตน์ ฉิมพาลี
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion de aspectos ambientales
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
Yanet Caldas
2016逢甲大學資訊工程系 .Net C# MVC 教學 with ina lai
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
Duran Hsieh
En vedette
(11)
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練2
Entity framework 與 LINQ
Entity framework 與 LINQ
Entity framework 入門第一課
Entity framework 入門第一課
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練1
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
2015 年逢甲大學資訊系:ASP.NET MVC 4 教育訓練4
P1072014 Un nuevo indicador para medir el desarrollo
P1072014 Un nuevo indicador para medir el desarrollo
Asp.net mvc 概觀介紹
Asp.net mvc 概觀介紹
Entity framework + Linq 介紹
Entity framework + Linq 介紹
อาณาจักรสิ่งมีชีวิต
อาณาจักรสิ่งมีชีวิต
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
Identificacion de peligros evaluacion de riesgos, Identificacion y valoracion...
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
2016年逢甲大學資訊系:ASP.NET MVC 4 教育訓練6
Plus de 國昭 張
This slide is presented in DDD Taiwan social group.
8th ddd taiwan study group bounded context integration
8th ddd taiwan study group bounded context integration
國昭 張
This slide talks about how to be a software architect from zero to one. Also, there is a section describe clean architecture that is by uncle Bob. This slide is used in 2nd meetup of local tech community(DDD in Taiwan).
Ddd(meetup 2) ddd with clean architecture
Ddd(meetup 2) ddd with clean architecture
國昭 張
This slide is talking about event storming. I use slide in our social group: DDD in Taiwan.
20190126 ddd-meetup1
20190126 ddd-meetup1
國昭 張
將事件風暴與設計衝刺結合
事件風暴-設計衝刺
事件風暴-設計衝刺
國昭 張
AgileTour Hsinchu 2018 - 工作坊
事件風暴-領域建模
事件風暴-領域建模
國昭 張
This slide describe unit test conception and tools. This slide is for entry level and want learn how to do unit test in practice.
單元測試
單元測試
國昭 張
This slide is for introducing Docker in practice; Including basic operator, Microservice, CI/CD .. etc.
Docker實務
Docker實務
國昭 張
This slide explains scrum and agile essential and also how to use kanban to expose your team's problem.
Scrum essential
Scrum essential
國昭 張
This slide talk about more details about Docker and what is Docker Swarm mode. There are also some examples in this slide, you can follow them to practice.
Docker進階探討
Docker進階探討
國昭 張
Introduce Vue.js 2.0 and its family: Vue-Route, Vuex
Vue
Vue
國昭 張
introduce docker's usage; it includes Docker basic knowledge. this slide also has operations of Docker image and Docker container.
Docker基礎
Docker基礎
國昭 張
This slide presents some famous architectures and how to use DDD to implement system and choose which architecture is more appropriate.
DDD架構設計
DDD架構設計
國昭 張
DDD system analysis
DDD系統分析
DDD系統分析
國昭 張
brief DDD
DDD引導
DDD引導
國昭 張
前端測試介紹與導入,其內容牽涉多個測試套件與框架: Mocha.js, Cucumber.js, Sinon.js, Nightwatch.js .. 等等
前端測試
前端測試
國昭 張
這新新板的ASP.Net Core v1.0的入門介紹,裡面包含了ASP.Net Core學習的基本概念,以及新版本的ASP.Net MVC 6.
Asp.net core v1.0
Asp.net core v1.0
國昭 張
introduce how to mix ReactJs and Redux in practice
Redux+react js
Redux+react js
國昭 張
ReactJs完整的介紹
React js
React js
國昭 張
從架構設計出發,瞭解到該如何選擇資料儲存的工具和系統
架構設計-資料存取的選擇
架構設計-資料存取的選擇
國昭 張
瞭解近期前端的自動化工具使用與概念
前端自動化工具
前端自動化工具
國昭 張
Plus de 國昭 張
(20)
8th ddd taiwan study group bounded context integration
8th ddd taiwan study group bounded context integration
Ddd(meetup 2) ddd with clean architecture
Ddd(meetup 2) ddd with clean architecture
20190126 ddd-meetup1
20190126 ddd-meetup1
事件風暴-設計衝刺
事件風暴-設計衝刺
事件風暴-領域建模
事件風暴-領域建模
單元測試
單元測試
Docker實務
Docker實務
Scrum essential
Scrum essential
Docker進階探討
Docker進階探討
Vue
Vue
Docker基礎
Docker基礎
DDD架構設計
DDD架構設計
DDD系統分析
DDD系統分析
DDD引導
DDD引導
前端測試
前端測試
Asp.net core v1.0
Asp.net core v1.0
Redux+react js
Redux+react js
React js
React js
架構設計-資料存取的選擇
架構設計-資料存取的選擇
前端自動化工具
前端自動化工具
Linq初階
1.
Linq初階
2.
大綱 Iterator/IEnumerable/IEnumerator yield關鍵字
Enumerable/IEnumerable<T> 委派型別 延遲執行
3.
ForEach處理 IEnumerable/IEnumerable<T> Foreach、In IEnumerable IEnumerator IEnumerable<T> IEnumerator<T> 針對實做 IEnumerable介面 的物件,進行逐一巡覽 針對實做 IEnumerable<T>介面 的物件,進行逐一巡覽 呼叫GetEnumerator() 取得IEnumerator 呼叫GetEnumerator() 取得IEnumerator<T> 透過Current屬性取得現在的項目 型別為object。 透過MoveNext方法,推至下一個 透過Current屬性取得現在的項目 型別為T。 透過MoveNext方法,推至下一個
4.
ForEach 呼叫集合的 GetEnumerator() 取得 IEnumerator<T> 並放置到變數V中 存取變數V的 Current屬性 取得當前項目 處理迴圈內的 流程 呼叫變數V的 MoveNext() True/ False Fin •IEnumerable隱藏 了很多處理上的細 節。 •要想被ForEach能 夠存取的集合務必 要實做 IEnumerable介面。
5.
為什麼要特別提到ForEach? 因為Linq在編譯時會轉換成ForEach相 關的IL Code….
6.
yield 使用yield會傳回每一個項目一次一個。 (摘錄自MSDN…誰看得懂這句話?) 一碼勝過千言萬語
7.
yield關鍵字使用限制 yield只能用在下列兩個地方: ◦ For/ForEach迴圈 ◦
類別屬性的get存取子
8.
yield在get存取上的應用
9.
yield的多樣控制 yield除了可以使用在return上之外,亦可 以應用在break上。 ?
10.
yield實戰應用的情境 yield的本質就是當For/ForEach迴圈欲 取得當前項目的時候會等待yield準備好 本次要回傳的項目。 主要應用在需要I/O等待的情境。
11.
Enumerable 這是一個靜態類別,主要目的如下: ◦ 針對IEnumerable<T>進行擴充 ◦
針對IEnumerable提供 Cast<T>/OfType<T>這兩個方法,供其轉型 成IEnumerable<T>。 提供Repeat<T>方法: 產生重覆的T序 列。 提供Range方法: 產生指定起迄的 IEnumerable<int>數字序列。
12.
Linq和Enumerable的關係? Enumerable擴展了IEnumerable<T>, 而ForEach只能展開繼承 IEnumerable/IEnumerable<T>的介面。
13.
Linq的火車鏈結式API呼叫法
14.
Fluent Interface 火車頭物件的型別是IEnumerable<T>, 而呼叫其方法所回傳的型別仍是 IEnumerable<T>,故可以一直接到底。
注意: 不是所有IEnumerable<T>上的方 法都是回傳IEnumerable<T>。
15.
委派型別 在C# 3.0版本之前處理委派的方式比較 不靈活。
16.
C# 3.0後的委派型別 Func<T1,T2,
.. , Tout>: 專司有輸出的 委派。 Action<T1, T2, …> : 僅處理無輸出的 委派。 Predicate<T>: 回傳為bool,的委派。
17.
延遲執行 Linq在處理資料時,由於其內部機制的 關係,故其僅會在需要的時候向資料源 要求下一筆資料,而不是一口氣全部取 回。
18.
範例
Télécharger maintenant