예제 #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;
 }