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); }
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; }
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]; }