public static IList<Depot> GetDepotWhereSoftwareExists(Software software) {
List<Depot> result = new List<Depot>();
QueryResultRows<Depot> depots = Db.SQL<Depot>("SELECT o FROM Warehouse.Depot o");
foreach(Depot depot in depots) {
if( depot.FindSoftware(software) != null ) {
result.Add(depot);
continue;
}
}
return result;
}
}