public static string Insert(BusRoute route) { List<ActiveRecord> logs = new List<ActiveRecord>(); logs.Add(route); List<string> newIDs = udtHelper.InsertValues(logs); return newIDs[0]; }
public static string Update(BusRoute route) { List<ActiveRecord> schs = new List<ActiveRecord>(); schs.Add(route); udtHelper.UpdateValues(schs); return route.UID; }
public static void Delete(BusRoute route) { List<ActiveRecord> schs = new List<ActiveRecord>(); schs.Add(route); udtHelper.DeletedValues(schs); }