コード例 #1
0
 public VideoRepositoryEFMemory(VideoShackContext context)
 {
     this.context = context;
 }
コード例 #2
0
 public CollectionRepository(VideoShackContext context)
 {
     this.context = context;
 }
コード例 #3
0
ファイル: UnitOfWork.cs プロジェクト: Drakzel/VideoShack
 public UnitOfWork()
 {
     context              = new VideoShackContext();
     VideoRepository      = new VideoRepositoryEFMemory(context);
     CollectionRepository = new CollectionRepository(context);
 }