示例#1
0
 public Model(string name, Type type, Manufacturer manufacturer, int id, List<Engine> engines, string imageUrl, string url)
 {
     this.Name = name;
     this.Type = type;
     this.Manufacturer = manufacturer;
     this.ID = ID;
     this.Engines = engines;
     this.ImageUrl = imageUrl;
     this.Url = url;
 }
示例#2
0
 private void showModels(Manufacturer manufacturer)
 {
     lblManufacturer.Text = manufacturer.Name;
     rptModels.DataSource = new ModelBL().GetByManufacturerID(manufacturer.ID, false);
     rptModels.DataBind();
 }