Ejemplo 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;
 }
Ejemplo 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);
 }