/// <summary> /// Create a new Manufacturer object. /// </summary> /// <param name="name">Initial value of the Name property.</param> /// <param name="acronym">Initial value of the Acronym property.</param> /// <param name="id">Initial value of the Id property.</param> public static Manufacturer CreateManufacturer(global::System.String name, global::System.String acronym, global::System.Int32 id) { Manufacturer manufacturer = new Manufacturer(); manufacturer.Name = name; manufacturer.Acronym = acronym; manufacturer.Id = id; return manufacturer; }
/// <summary> /// Deprecated Method for adding a new object to the Manufacturers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToManufacturers(Manufacturer manufacturer) { base.AddObject("Manufacturers", manufacturer); }