コード例 #1
0
ファイル: BusStopDAO.cs プロジェクト: kobeaaron110/mdhs
 public static void Delete(BusStop route)
 {
     List<ActiveRecord> schs = new List<ActiveRecord>();
     schs.Add(route);
     udtHelper.DeletedValues(schs);
     if (ItemChanged != null)
         ItemChanged(null, EventArgs.Empty);
 }
コード例 #2
0
ファイル: BusStopDAO.cs プロジェクト: kobeaaron110/mdhs
 public static string Update(BusStop route)
 {
     List<ActiveRecord> schs = new List<ActiveRecord>();
     schs.Add(route);
     udtHelper.UpdateValues(schs);
     if (ItemChanged != null)
         ItemChanged(null, EventArgs.Empty);
     return route.UID;
 }
コード例 #3
0
ファイル: BusStopDAO.cs プロジェクト: kobeaaron110/mdhs
 public static string Insert(BusStop route)
 {
     List<ActiveRecord> logs = new List<ActiveRecord>();
     logs.Add(route);
     List<string> newIDs = udtHelper.InsertValues(logs);
     if (ItemChanged != null)
         ItemChanged(null, EventArgs.Empty);
     return newIDs[0];
 }