コード例 #1
0
 public void Initialize()
 {
     topicRepository = new SqlTopicCommandRepository(dbConnection);
     new DataBaseTruncator(dbConnection).TruncateDataBase().GetAwaiter().GetResult();
 }
コード例 #2
0
 public async void Initialize()
 {
     anyTopic = new Topic(ProductId).WithId("AnyTopicId");
     topicRepository = new SqlTopicCommandRepository(dbConnection);
     await new DataBaseTruncator(dbConnection).TruncateDataBase();
 }
コード例 #3
0
 public void Initialize()
 {
     sqlInserter = new SqlInserter(dbConnection);
     sqlTopicRepository = new SqlTopicCommandRepository(dbConnection);
 }