예제 #1
0
 /// <summary>
 /// 详细行程测试用例
 /// </summary>
 /// <param name="sender"></param>
 /// <param name="e"></param>
 private void btnDetailSchedule_Click(object sender, EventArgs e)
 {
     Operater.Init();
     Traffic info = new Traffic();
     info.Description = "坐车去九份";
     info.Location = "台北市";
     info.StartDate = new DateTime(2014, 10, 11, 8, 30, 00);
     info.EndDate = new DateTime(2014, 10, 11, 10, 00, 00);
     info.Comments = "BUS1602!别坐错了";
     Traffic.InsertDetailInfo(info);
 }
예제 #2
0
 /// <summary>
 /// 添加详细行程
 /// </summary>
 /// <param name="info"></param>
 public static void InsertDetailInfo(Traffic info)
 {
     Operater.InsertRec(CollectionName, info);
 }
예제 #3
0
 /// <summary>
 /// 添加详细行程
 /// </summary>
 /// <param name="info"></param>
 public static void InsertDetailInfo(Traffic info)
 {
     Operater.InsertRec(CollectionName, info);
 }