Autoplay
Autocomplete
Previous Lesson
Complete and Continue
2-7B-6-EntityFrameworkEpisode6(第6篇)-Test、UnitOfWorkWithRepositoryPart2
關於本課程
FAQ-Handout,SampleCode(常見問題-講義、範例程式碼)
(P1-1)導讀EF(1to6)(.NetFramework) (25:25)
(P1-2)導讀EF(1)(.NetFramework) (30:56)
(P1-3)導讀EF(2)(.NetFramework) (28:37)
(P1-4)導讀EF(3)(.NetFramework) (18:26)
(P1-5)導讀EF(4)(.NetFramework) (19:34)
(P1-6)導讀EF(5)(.NetFramework) (21:43)
(P1-7)導讀EF(6)(.NetFramework) (13:22)
(P2-1)討論Tsql和工具 (22:31)
(P2-2)討論EfDBFirst (15:06)
(P2-3)使用EfPocoGenerator,討論EfDbFirst的Mapping模式 (22:37)
(P2-4)討論EfDBFirst的Mapping模式和Migration模式 (62:02)
(P2-5)結論 (15:23)
(P3-1)導讀EF(5to6)(.NetFramework)程式碼 (35:28)
(P3-2)設定EF(5to6)(.NetFramework)程式碼 (35:11)
討論UiModelRepository、UiModelUnitOfWork
(T37-1)對應資料庫Table到DataAccess層的EfModelClass,再對應到UiModelRepository層的UiModelClass (19:40)
(T37-2)對應資料庫StoredProcedure到DataAccess層的EfModelClass,再對應到UiModelRepository層的UiModelClass (9:58)
(T37-3)對應資料庫View到DataAccess層的EfModelClass,再對應到UiModelRepository層的UiModelClass (4:17)
(T37-4)對應資料庫TableValuedFunction到DataAccess層的EfModelClass,再對應到UiModelRepository層的UiModelClass (3:33)
(T38)使用AutoMapper對應DataAccess層的EfModelClass到UiModelRepository層的UiModelClass (16:17)
(T39-1)討論UiModelRepository層的GenericRepositoryInterface (21:37)
(T39-2)討論UiModelRepository層的GenericRepository (28:23)
(T40-1)討論UiModelRepository層的TableRepositoryInterface (7:10)
(T40-2)討論UiModelRepository層的TableRepository (34:32)
(T41)討論UiModelRepository層的ViewRepositoryInterface、ViewRepository (13:04)
(T42)討論UiModelRepository層的UnitOfWork的StoredProcedure (11:43)
(T43)討論UiModelRepository層的UnitOfWork的TableValuedFunction (4:06)
(T44)在ConsoleApp使用UiModelRepository層的Table、View、StoredProcedure、TableValuedFunction (31:04)
(T45)使用UiModelRepository層的UnitOfWork的OnePk的Table (18:44)
(T46)使用UiModelRepository層的UnitOfWork的TwoPk的Table (16:13)
(T47)使用UiModelRepository層的UnitOfWork的View (6:02)
(T48)使用UiModelRepository層的UnitOfWork的StoredProcedure (31:06)
(T49)使用UiModelRepository層的UnitOfWork的TableValuedFunction (6:02)
用NUnit寫UnitTest測試UiModelRepository
(T50-1)設定NUnit的OneTimeSetUp和OneTimeTearDown (11:18)
(T50-2)用NUnit寫UnitTest測試UiModelRepository層的AreaRepository (27:46)
(T50-3)用NUnit寫UnitTest測試UiModelRepository層的GamerDetailRepository (16:23)
(T50-4)用NUnit寫UnitTest測試UiModelRepository層的GamerRepository (17:07)
(T50-5)用NUnit寫UnitTest測試UiModelRepository層的GamerSkillRepository (16:50)
(T50-6)用NUnit寫UnitTest測試UiModelRepository層的MagicRepository (12:12)
(T50-7)用NUnit寫UnitTest測試UiModelRepository層的SkillRepository (10:56)
(T50-8)用NUnit寫UnitTest測試UiModelRepository層的TeamRepository (11:46)
(T50-9)討論NUnit的OneTimeSetUp和OneTimeTearDown (6:35)
(T51-1)用NUnit寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndMagicRepository (13:43)
(T51-2)用NUnit寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndSkillRepository (11:10)
(T51-3)用NUnit寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaRepository (8:55)
(T51-4)用NUnit寫UnitTest測試UiModelRepository層的VwGamerSkillCountRepository (7:12)
(T51-5)用NUnit寫UnitTest測試UiModelRepository層的VwTeamAndGamerCountRepository (8:08)
用NUnit寫IntegrationTest測試UiModelRepository
(T52-1)設定NUnit的OneTimeSetUp和OneTimeTearDown (5:28)
(T52-2)用NUnit寫IntegrationTest測試UiModelRepository層的AreaRepository (10:22)
(T52-3)用NUnit寫IntegrationTest測試UiModelRepository層的GamerDetailRepository (8:35)
(T52-4)用NUnit寫IntegrationTest測試UiModelRepository層的GamerRepository (8:25)
(T52-5)用NUnit寫IntegrationTest測試UiModelRepository層的GamerSkillRepository (6:40)
(T52-6)用NUnit寫IntegrationTest測試UiModelRepository層的MagicRepository (8:15)
(T52-7)用NUnit寫IntegrationTest測試UiModelRepository層的SkillRepository (6:41)
(T52-8)用NUnit寫IntegrationTest測試UiModelRepository層的TeamRepository (8:48)
(T53-1)用NUnit寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndMagicRepository (4:30)
(T53-2)用NUnit寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndSkillRepository (4:04)
(T53-3)用NUnit寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaRepository (3:03)
(T53-4)用NUnit寫IntegrationTest測試UiModelRepository層的VwGamerSkillCountRepository (2:52)
(T53-5)用NUnit寫IntegrationTest測試UiModelRepository層的VwTeamAndGamerCountRepository (3:21)
(T54-1)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerDetail (15:35)
(T54-2)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerMagic (12:00)
(T54-3)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerSkill (11:16)
(T54-4)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpOutputGamerCountByGender (3:43)
(T54-5)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpSelectGamers (5:44)
(T55)用NUnit寫IntegrationTest測試UiModelRepository層的UnitOfWork的TableValuedFunction (9:32)
用MSTest寫UnitTest測試UiModelRepository
(T56-1)設定MSTest的AssemblyInitialize和AssemblyCleanup (5:15)
(T56-2)用MSTest寫UnitTest測試UiModelRepository層的AreaRepository (9:24)
(T56-3)用MSTest寫UnitTest測試UiModelRepository層的GamerDetailRepository (7:59)
(T56-4)用MSTest寫UnitTest測試UiModelRepository層的GamerRepository (7:48)
(T56-5)用MSTest寫UnitTest測試UiModelRepository層的GamerSkillRepository (5:54)
(T56-6)用MSTest寫UnitTest測試UiModelRepository層的MagicRepository (6:32)
(T56-7)用MSTest寫UnitTest測試UiModelRepository層的SkillRepository (6:27)
(T56-8)用MSTest寫UnitTest測試UiModelRepository層的TeamRepository (7:04)
(T57-1)用MSTest寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndMagicRepository (4:30)
(T57-2)用MSTest寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndSkillRepository (3:02)
(T57-3)用MSTest寫UnitTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaRepository (2:14)
(T57-4)用MSTest寫UnitTest測試UiModelRepository層的VwGamerSkillCountRepository (2:25)
(T57-5)用MSTest寫UnitTest測試UiModelRepository層的VwTeamAndGamerCountRepository (2:28)
用MSTest寫IntegrationTest測試UiModelRepository
(T58-1)設定MSTest的AssemblyInitialize和AssemblyCleanup。設定AutoMapper (7:55)
(T58-2)用MSTest寫IntegrationTest測試UiModelRepository層的AreaRepository (13:48)
(T58-3)用MSTest寫IntegrationTest測試UiModelRepository層的GamerDetailRepository (12:09)
(T58-4)用MSTest寫IntegrationTest測試UiModelRepository層的GamerRepository (10:13)
(T58-5)用MSTest寫IntegrationTest測試UiModelRepository層的GamerSkillRepository (4:45)
(T58-6)用MSTest寫IntegrationTest測試UiModelRepository層的MagicRepository (9:27)
(T58-7)用MSTest寫IntegrationTest測試UiModelRepository層的SkillRepository (12:58)
(T58-8)用MSTest寫IntegrationTest測試UiModelRepository層的TeamRepository (11:54)
(T59-1)用MSTest寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndMagicRepository (8:18)
(T59-2)用MSTest寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaAndSkillRepository (5:47)
(T59-3)用MSTest寫IntegrationTest測試UiModelRepository層的VwGamerAndDetailAndTeamAndAreaRepository (5:11)
(T59-4)用MSTest寫IntegrationTest測試UiModelRepository層的VwGamerSkillCountRepository (4:39)
(T59-5)用MSTest寫IntegrationTest測試UiModelRepository層的VwTeamAndGamerCountRepository (5:46)
(T60-1)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerDetail (8:41)
(T60-2)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerMagic (6:40)
(T60-3)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpGamerSkill (5:58)
(T60-4)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpOutputGamerCountByGender (5:09)
(T60-5)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的SpSelectGamers (5:21)
(T61)用MSTest寫IntegrationTest測試UiModelRepository層的UnitOfWork的TableValuedFunction (11:25)
Ui層的Asp.Net Mvc
(T62-1)建立Asp. Net MVC專案,設定AutoMapper (13:20)
(T62-2)在Web.config設定CustomError。在WebShareConst.cs設定日期格式。在Global.asax.cs設定AutoMapper (18:45)
(T62-3)自訂ErrorHandling。在ErrorResource.resx設定錯誤訊息。建立CustomError的Controller和View (17:36)
(T62-4)自訂Attribute,包括Cache、DateRange、BetweenMinimumDateAndToday、BeforeToday、RemoteClientServer (16:39)
(T62-5)討論DateFormatValidation(驗證日期格式ddmmyyy)。討論JqueryUi的datepicker (12:59)
(T62-6)討論StringFormatValidation(字串格式驗證)。用RegularExpression驗證FirstName、LastName格式 (2:54)
(T63)建立Asp. Net MVC的Area的Model、View、Controller (44:04)
(T64)建立Asp. Net MVC的Team的Model、View、Controller (32:38)
(T65)建立Asp. Net MVC的Magic的Model、View、Controller (31:24)
(T66)建立Asp. Net MVC的Skill的Model、View、Controller (25:18)
(T67-1)建立Asp. Net MVC的_Layout.cshtml (2:46)
(T67-2)討論StringFormatValidation(字串格式驗證)。用RegularExpression驗證Email格式 (30:08)
(T67-3)針對Gamer,使用AutoMapper對應DataAccess層的EfModelClass到UiModelRepository層的UiModelClass (22:31)
(T67-4)建立Asp. Net MVC的Gamer的Model、View、Controller。建立IndexView (52:52)
(T67-5)建立Asp. Net MVC的Gamer的Model、View、Controller。建立DetailView (6:15)
(T67-6)建立Asp. Net MVC的Gamer的Model、View、Controller。建立CreateView (33:48)
(T67-7)建立Asp. Net MVC的Gamer的Model、View、Controller。建立UpdateView (38:49)
(T67-8)建立Asp. Net MVC的Gamer的Model、View、Controller。建立DeleteView (10:59)
(T68)討論GamerSkill。建立Asp. Net MVC的GamerController的AssignSkillToGamerIndex.cshtml (39:55)
(T69)討論GamerMagic。建立Asp. Net MVC的GamerController的AssignMagicToGamerIndex.cshtml (25:35)
(T70)討論PagedList.Mvc。建立Asp. Net MVC的Gamer的GamerController的IndexView的Paging(分頁) (33:00)
(T71)建立Asp. Net MVC的Gamer的GamerController的IndexView的Sorting(排序) (34:18)
(T72)建立Asp. Net MVC的Gamer的GamerController的DeleteMultiple(一次刪除多筆資料) (56:14)
(T73)建立Asp. Net MVC的Gamer的GamerController的CustomizeCacheAttribute(自訂快取屬性) (16:40)
(T74)資料庫Weapon資料表建立前,在UiModelRepository層的WeaponRepository使用MockUpData(假資料)建立Ui層Model、View、Controller (43:10)
(T75)討論DeleteOutPutCache。修復Asp. Net MVC的Gamer的GamerController的CustomizeCacheAttribute(自訂快取屬性)的Bug (17:05)
課程評價
課程評價
(T69)討論GamerMagic。建立Asp. Net MVC的GamerController的AssignMagicToGamerIndex.cshtml
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock