Esempio n. 1
0
 public DB_Storage()
 {
     Brands        = DB_Product_Query.GetAllBrands();
     Models        = DB_Product_Query.GetAllModels();
     Carcases      = DB_TechData_Query.GetAllCarcases();
     Countries     = DB_Product_Query.GetAllCountries();
     Engine_places = DB_TechData_Query.GetAllEngine_places();
     Engine_types  = DB_TechData_Query.GetAllEngine_types();
     Cities        = DB_Sale_Query.GetAllCities();
     Clients       = DB_Sale_Query.GetAllClients();
     Payment_types = DB_Sale_Query.GetAllPayment_types();
 }
Esempio n. 2
0
 public List <Model> GetBrandModels(int brand_id)
 {
     return(DB_Product_Query.GetBrandModels(brand_id));
 }