Exemplo n.º 1
0
 public virtual void UpdateHistory(HandlingActivity nextExpectedActivity, HandlingActivity lastKnownActivity, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime? estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
 {
    Delivery delivery = new Delivery(this, nextExpectedActivity, lastKnownActivity, routingStatus, transportStatus, estimatedTimeOfArrival, isUnloadedAtDestination, isMisdirected, calculatedAt);
    _history.Add(delivery);
    CurrentInformation = delivery;
 }
Exemplo n.º 2
0
		private void detach_Deliveries(Delivery entity)
		{
			this.SendPropertyChanging();
			entity.Cargo = null;
		}
 public HandlingEventViewAdapter(Delivery handlingEvent)
 {
    _handlingEvent = handlingEvent;
 }
Exemplo n.º 4
0
		private void attach_Deliveries(Delivery entity)
		{
			this.SendPropertyChanging();
			entity.Cargo = this;
		}
Exemplo n.º 5
0
 partial void DeleteDelivery(Delivery instance);
Exemplo n.º 6
0
 partial void UpdateDelivery(Delivery instance);
Exemplo n.º 7
0
 partial void InsertDelivery(Delivery instance);
Exemplo n.º 8
0
 public virtual void UpdateHistory(HandlingEventType? nextExpectedEvent, string nextExpectedLocation, HandlingEventType? lastKnownEvent, string lastKnownLocation, RoutingStatus routingStatus, TransportStatus transportStatus, DateTime? estimatedTimeOfArrival, bool isUnloadedAtDestination, bool isMisdirected, DateTime calculatedAt)
 {
    Delivery delivery = new Delivery(this, nextExpectedEvent, nextExpectedLocation, lastKnownEvent, lastKnownLocation, routingStatus, transportStatus, estimatedTimeOfArrival, isUnloadedAtDestination, isMisdirected, calculatedAt);
    DeliveryHistory.Add(delivery);
    CurrentInformation = delivery;
 }