Ejemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Brands EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToBrands(Brand brand)
 {
     base.AddObject("Brands", brand);
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Create a new Brand object.
 /// </summary>
 /// <param name="brandId">Initial value of the BrandId property.</param>
 public static Brand CreateBrand(global::System.Int32 brandId)
 {
     Brand brand = new Brand();
     brand.BrandId = brandId;
     return brand;
 }