Exemplo n.º 1
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;
 }
Exemplo n.º 2
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);
 }