Inheritance: System.Entity
Ejemplo n.º 1
0
        public TransportRoute(Guid importNotificationId, StateOfExport stateOfExport, StateOfImport stateOfImport)
        {
            Guard.ArgumentNotDefaultValue(() => importNotificationId, importNotificationId);
            Guard.ArgumentNotNull(() => stateOfExport, stateOfExport);
            Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);

            ImportNotificationId = importNotificationId;
            StateOfExport        = stateOfExport;
            StateOfImport        = stateOfImport;
        }
Ejemplo n.º 2
0
        public TransportRoute(Guid importNotificationId, StateOfExport stateOfExport, StateOfImport stateOfImport)
        {
            Guard.ArgumentNotDefaultValue(() => importNotificationId, importNotificationId);
            Guard.ArgumentNotNull(() => stateOfExport, stateOfExport);
            Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);

            ImportNotificationId = importNotificationId;
            StateOfExport = stateOfExport;
            StateOfImport = stateOfImport;
        }
Ejemplo n.º 3
0
 public void SetStateOfExport(StateOfExport stateOfExport)
 {
     Guard.ArgumentNotNull(() => stateOfExport, stateOfExport);
     StateOfExport = stateOfExport;
 }