public DrugBatch(Drug drug) { Drug = drug; }
// Easy initializer public LogEntry(Drug drug, int previousCount, int newCount) { Drug = drug; PreviousCount = previousCount; NewCount = newCount; }
// This was required in order to have the ViewModels not throw null exceptions at design time. Never used. public DrugBatch() { Drug = new Drug(); }