コード例 #1
0
ファイル: SeedData.cs プロジェクト: vbondaryuk/TestsStore
 public static void FillDataBase(TestsStoreContext context)
 {
     context.Statuses.AddRange(Enumeration.GetAll <Status>());
     context.Projects.Add(TestProject);
 }
コード例 #2
0
 public BuildRepository(TestsStoreContext testsStoreContext)
 {
     this._testsStoreContext = testsStoreContext;
 }
コード例 #3
0
 public ProjectRepository(TestsStoreContext testsStoreContext)
 {
     _testsStoreContext = testsStoreContext;
 }
コード例 #4
0
 public TestResultRepository(TestsStoreContext testsStoreContext)
 {
     _testsStoreContext = testsStoreContext;
 }