public HouseComponentRepository([NotNull] MyDb mydb) { Households = mydb.FetchAsRepo <Household>(); ProcessComponents(Households); Businesses = mydb.FetchAsRepo <BusinessEntry>(); ProcessComponents(Businesses); PVSystems = mydb.FetchAsRepo <PvSystemEntry>(); ProcessComponents(PVSystems); CarDistanceEntries = mydb.FetchAsRepo <CarDistanceEntry>(); ProcessComponents(CarDistanceEntries); BuildingInfrastructures = mydb.FetchAsRepo <BuildingInfrastructure>(); ProcessComponents(BuildingInfrastructures); Wasserkraft = mydb.FetchAsRepo <KleinWasserkraft>(); ProcessComponents(Wasserkraft); HeatingSystemEntries = mydb.FetchAsRepo <HeatingSystemEntry>(); ProcessComponents(HeatingSystemEntries); AirConditioningEntries = mydb.FetchAsRepo <AirConditioningEntry>(); ProcessComponents(AirConditioningEntries); DhwEntries = mydb.FetchAsRepo <DHWHeaterEntry>(); ProcessComponents(DhwEntries); }