예제 #1
0
 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);
 }
예제 #2
0
 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);
 }
예제 #3
0
		private void detach_Downtimes(Downtime entity)
		{
			this.SendPropertyChanging();
			entity.Url1 = null;
		}
예제 #4
0
		private void attach_Downtimes(Downtime entity)
		{
			this.SendPropertyChanging();
			entity.Url1 = this;
		}
예제 #5
0
 partial void DeleteDowntime(Downtime instance);
예제 #6
0
 partial void UpdateDowntime(Downtime instance);
예제 #7
0
 partial void InsertDowntime(Downtime instance);