示例#1
0
        public static CrawlHistory CreateCrawlHistory(int id, string key, int groupId)
        {
            CrawlHistory crawlHistory = new CrawlHistory();

            crawlHistory.Id      = id;
            crawlHistory.Key     = key;
            crawlHistory.GroupId = groupId;
            return(crawlHistory);
        }
示例#2
0
 public void AddToCrawlHistory(CrawlHistory crawlHistory)
 {
     base.AddObject("CrawlHistory", crawlHistory);
 }
 /// <summary>
 /// There are no comments for CrawlHistory in the schema.
 /// </summary>
 public void AddToCrawlHistory(CrawlHistory crawlHistory)
 {
     base.AddObject("CrawlHistory", crawlHistory);
 }
 /// <summary>
 /// Create a new CrawlHistory object.
 /// </summary>
 /// <param name="id">Initial value of Id.</param>
 /// <param name="key">Initial value of Key.</param>
 /// <param name="groupId">Initial value of GroupId.</param>
 public static CrawlHistory CreateCrawlHistory(int id, string key, int groupId)
 {
     CrawlHistory crawlHistory = new CrawlHistory();
     crawlHistory.Id = id;
     crawlHistory.Key = key;
     crawlHistory.GroupId = groupId;
     return crawlHistory;
 }