Пример #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;
 }
Пример #2
0
		private void detach_Deliveries(Delivery entity)
		{
			this.SendPropertyChanging();
			entity.Cargo = null;
		}
 public HandlingEventViewAdapter(Delivery handlingEvent)
 {
    _handlingEvent = handlingEvent;
 }
Пример #4
0
		private void attach_Deliveries(Delivery entity)
		{
			this.SendPropertyChanging();
			entity.Cargo = this;
		}
Пример #5
0
 partial void DeleteDelivery(Delivery instance);
Пример #6
0
 partial void UpdateDelivery(Delivery instance);
Пример #7
0
 partial void InsertDelivery(Delivery instance);
Пример #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;
 }