/// <summary> /// Deprecated Method for adding a new object to the Brands EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBrands(Brand brand) { base.AddObject("Brands", brand); }
/// <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; }