Inheritance: System.Entity
Exemple #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;
        }
        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;
        }
Exemple #3
0
 public void SetStateOfImport(StateOfImport stateOfImport)
 {
     Guard.ArgumentNotNull(() => stateOfImport, stateOfImport);
     StateOfImport = stateOfImport;
 }