/// <summary> /// Create a new BrandName object. /// </summary> /// <param name="brandNameID">Initial value of the BrandNameID property.</param> /// <param name="name">Initial value of the Name property.</param> public static BrandName CreateBrandName(global::System.Int32 brandNameID, global::System.String name) { BrandName brandName = new BrandName(); brandName.BrandNameID = brandNameID; brandName.Name = name; return brandName; }
/// <summary> /// Deprecated Method for adding a new object to the BrandNames EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToBrandNames(BrandName brandName) { base.AddObject("BrandNames", brandName); }