Entity Framework第2篇: 扎實打底(C#)
真正討論資料庫互動的大小事。快速入門 Entity Framework,徹底攻略 EF Code First 開發模式底下的 Migration 模式的大小事。徹底理解 Data Annotations 、Fluent API 語法之間的差異和比較。朝著「現代 .NET 開發者 」快速前進!
單元 1 - 課程使用方法
單元 2 - ITHandyGuy粉絲團
單元 1 - 本課程講義目錄
單元 2 - 本課程導讀
單元 3 - 本課程導讀(Entity Framewok第二篇)
單元 1 - EF學程簡介Preview01
單元 2 - EF學程簡介Preview01
單元 3 - EF學程簡介Preview02 : 常見的EF開發模式
單元 4 - EF學程簡介Preview02-01 : 介紹TSQL還有相關安裝工具
單元 5 - EF學程簡介Preview02-02 : EF DB First開發模式
單元 6 - EF學程簡介Preview02-03 : EF Code First 開發模式 底下的 Mapping 模式 並且搭配EF Poco Generator
單元 7 - EF學程簡介Preview02-04 : EF Code First 開發模式 底下的 Mapping 和Migration模式
單元 8 - EF學程簡介Preview02-05 : EF Code First 開發模式 底下 保持EF Model Class和Database Table Relationship 的一致性
單元 9 - EF第5和6篇_Poco範例成品介紹
單元 10 - EF第5和6篇_Poco範例成品介紹
單元 1 - 工具下載與安裝
單元 2 - 工具下載與安裝
單元 3 - Visual Studio 2017下載安裝說明
單元 4 - Visual Studio 2017下載安裝說明
單元 5 - 強制刪除資料庫
單元 6 - 強制刪除資料庫
單元 7 - ReStore資料庫from BAK or TSQL,安裝Northwind資料庫,安裝Adventureworks資料庫
單元 8 - ReStore資料庫from BAK or TSQL,安裝Northwind資料庫,安裝Adventureworks資料庫
單元 9 - SQL Server 2019下載與安裝
單元 10 - SQL Server 2019下載與安裝
單元 11 - Visual Studio 2019下載與安裝
單元 12 - Visual Studio 2019下載與安裝
單元 13 - PocoGenerator下載與安裝(VS2019)
單元 14 - PocoGenerator下載與安裝(VS2019)
單元 15 - NUnit3TestAdapter下載與安裝(VS2019)
單元 16 - NUnit3TestAdapter下載與安裝(VS2019)
單元 1 - Tutorial 27講義: 了解EF Code First Migration,實現一對多,多對多。
單元 2 - Tutorial 27-01: 成品展示,建立EFModels
單元 3 - Tutorial 27-02: 使用EF Migration Script
Tutorial 28講義: 使用現有DB和Migration產生EF Code First,實現對DB的Souce Control。DB也可以有version,並且可以upgrade或downgrade。
單元 2 - Tutorial 28-01: 成品展示,執行TSQL
單元 3 - Tutorial 28-02: 把Existing DB使用EF Code First Migration轉成EF models
單元 4 - Tutorial 28-03: 加入第一個EF Code First Migration。init migration
單元 5 - Tutorial 28-04: 使用EF Code First Migration,Add EF Model Class/table。
單元 6 - Tutorial 28-05: 使用EF Code First Migration,Edit EF Model Class/table,Add property/column。
單元 7 - Tutorial 28-06: 使用EF Code First Migration,Edit EF Model Class/table,Edit property/column。
單元 8 - Tutorial 28-07: 使用EF Code First Migration,Edit EF Model Class/table,Delete property/column。
單元 9 - Tutorial 28-08: 刪除一個EF Model Class,使用EF Code First Migration。
單元 10 - Tutorial 28-09: 使用EF Code First Migration來upgrade DB和downgrade DB
單元 11 - Tutorial 28-10: 使用EF Code First Migration來Seed DB
單元 1 - Tutorial 29講義: 使用Data Annotations 來 Overriding Code-First Conventions
單元 2 - Tutorial 29-01: 初步認識Data Annotations V.S Fluent API
單元 3 - Tutorial 29-02: Data Annotations實作Single Table
單元 4 - Tutorial 29-03: Data Annotations實作One To Many Relationship 1
單元 5 - Tutorial 29-04: Data Annotations實作One To Many Relationship 2
單元 6 - Tutorial 29-05: Data Annotations實作One To Many Relationship 3
單元 7 - Tutorial 29-06: Data Annotations實作One To Many Relationship 4
單元 8 - Tutorial 29-07: Data Annotations實作Many To Many Relationship
單元 9 - Tutorial 30: DataAnnotatios和FluentAPI的差異比較。
單元 10 - Tutorial 30-01: 初步實作Migration Init
單元 11 - Tutorial 30-02: 使用Data Annotations在AdminMember
單元 12 - Tutorial 30-03: 使用FluentAPI在AdminMember
單元 13 - Tutorial 30-04: One-to-One/Many-Relationship,使用DataAnnotations在AdminMemberTable和AdminMemberGroupTable
單元 14 - Tutorial 30-05: One-to-One/Many-Relationship,使用FluentAPI在AdminMemberTable和AdminMemberGroupTable\
單元 15 - Tutorial 30-06: One-to-Zero/Many-Relationship,使用DataAnnotations在AdminMemberTable和AdminMemberAreaTable
單元 16 - Tutorial 30-07: One-to-Zero/Many-Relationship,使用FluentAPI在AdminMemberTable和AdminMemberAreaTable
單元 17 - Tutorial 30-08: One-to-One-Relationship,使用FluentAPI在GamerTable和GamerDetailTable
單元 18 - Tutorial 30-09: One-to-Zero/One-Relationship,使用DataAnnotations在GamerTable和GamerExtraInformationTable
單元 19 - Tutorial 30-10: One-to-Zero/One-Relationship,使用FluentAPI在GamerTable和GamerExtraInformationTable
單元 20 -Tutorial 30-11: Many-to-Many-Relationship Without Middle EF Model,使用DataAnnotations在GamerTable和MagicTable
單元 21 - Tutorial 30-12: Many-to-Many-Relationship Without Middle EF Model,使用FluentAPI在GamerTable和MagicTable
單元 22 - Tutorial 30-13: Many-to-Many-Relationship With Middle EF Model,使用DataAnnotations在GamerTable和SkillTable
單元 23 - Tutorial 30-14: Many-to-Many-Relationship With Middle EF Model,使用FluentAPI在GamerTable和SkillTable
單元 24 - Tutorial 30-15: 整理規劃Fluent API Entity Configuration
單元 1 - Tutorial 31講義: 徹底理解Table Per Hierarchy Inheritance(TPH),比較Data Annotation V.S. Fluent API
單元 2 - Tutorial 31-01: 前置準備
單元 3 - Tutorial 31-02: 使用Data Annotation實現Table Per Hierarchy Inheritance(TPH)
單元 4 - Tutorial 31-03: 實作MVC,實作Index,WarriorsIndex和MagicianIndex
單元 5 - Tutorial 31-04: 實作MVC,實作EditWarrior和EditMagician
單元 6 - Tutorial 31-05: 實作MVC,實作CreateWarrior和CreateMagician
單元 7 - Tutorial 31-06: 實作MVC,實作Delete
單元 8 - Tutorial 31-07: 實作MVC,實作Details
單元 9 -Tutorial 31-08: 使用Data Annotation實作Table Per Hierarchy Inheritance(TPH)並且Override Discriminator Column
單元 10 - Tutorial 31-09: 使用Fluent API實現Table Per Hierarchy Inheritance(TPH)
單元 11 - Tutorial 31-10: 使用Fluent API實作Table Per Hierarchy Inheritance(TPH)並且Override Discriminator Column
單元 12 - Tutorial 31-11: 使用Fluent API實作Table Per Hierarchy Inheritance(TPH)並且Override Discriminator Column2
單元 13 - Tutorial 31-12: 證明EF Model不可以包含Discriminator Property
單元 14 - Tutorial 31-13: 整理Fluent API
Tutorial 32講義: 徹底理解Table Per Type Inheritance(TPT),比較Data Annotation V.S. Fluent API
單元 2 - Tutorial 32-01: 前置準備
單元 3 - Tutorial 32-02: 使用Data Annotation實現Table Per Type Inheritance(TPT)
單元 4 - Tutorial 32-03: 實作MVC,實作Index,WarriorsIndex和MagicianIndex
單元 5 - Tutorial 32-04: 實作MVC,實作EditWarrior和EditMagician
單元 6 - Tutorial 32-05: 實作MVC,實作CreateWarrior和CreateMagician
單元 7 - Tutorial 32-06: 實作MVC,實作Delete
單元 8 - Tutorial 32-07: 實作MVC,實作Details
單元 9 - Tutorial 32-08: 使用Fluent API實現Table Per Type Inheritance(TPT)
單元 10 - Tutorial 32-09: 整理Fluent API
單元 1 - Tutorial 33講義: 徹底理解使用Fluent API完成Table Per Concrete Type Inheritance (TPC)
單元 2 - Tutorial 33-01: 前置準備
單元 3 - Tutorial 33-02: 使用Fluent API實現Table Per Concrete Type Inheritance (TPC)
單元 4 - Tutorial 33-03: 整理Fluent API
單元 1 - Tutorial 34講義: 硬幹SqlQuery搭配StoredProcedure
單元 2 - Tutorial 34-01: 前置準備
單元 3 - Tutorial 34-02: EF Migration Init
單元 4 - Tutorial 34-03: 自動生成MVC
單元 5 - Tutorial 34-04: 硬幹SqlQuery搭配StoredProcedure
單元 1 - Tutorial 35: 理解AutoMapper
單元 2 - Tutorial 35-01: 介紹AutoMapper,Person和Member
單元 3 - Tutorial 35-02: 介紹AutoMapper,Person和Gamer
單元 4 - Tutorial 35-03: 介紹AutoMapper,PersonList和MemberList
單元 5 - Tutorial 35-04: 介紹AutoMapper,PersonList和GamerList