/// <summary> /// 古いツイートのログを削除します。 /// </summary> public void DeleteTweetLog() { using (var tweetLogService = new TweetLogService()) { tweetLogService.Shrink(); } }
public void ShrinkTest1() { var target = new TweetLogService(); target.Shrink(); using (var dbContext = new DefaultConnectionContext()) { foreach (var item in dbContext.TweetLogs) { Debug.WriteLine(item); } } }