public static TimelineEvent Create(Url u, Downtime d) { return Create(d.Begintijd, d.Hard ? "downtime-hard" : "downtime-zacht" , string.Format("{1} ({0})", d.Hard ? "error" : "waarschuwing", u.Naam) , string.Format("<a href=\"{0}\">{1}</a>", u.Url1, u.Naam) , d.Eindtijd); }
public static TimelineEvent Create(Downtime d) { return Create(d.Begintijd, d.Hard ? "downtime-hard" : "downtime-zacht" , string.Format("Downtime ({0})", d.Hard ? "error" : "waarschuwing") , "", d.Eindtijd); }
private void detach_Downtimes(Downtime entity) { this.SendPropertyChanging(); entity.Url1 = null; }
private void attach_Downtimes(Downtime entity) { this.SendPropertyChanging(); entity.Url1 = this; }
partial void DeleteDowntime(Downtime instance);
partial void UpdateDowntime(Downtime instance);
partial void InsertDowntime(Downtime instance);