/// <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); }
private bool FilterManufacturer(Manufacturer entity) { return (entity.Id == this.ManufacturerId); }
/// <summary> /// Create a new Manufacturer object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> public static Manufacturer CreateManufacturer(global::System.Int32 id, global::System.String name) { Manufacturer manufacturer = new Manufacturer(); manufacturer.Id = id; manufacturer.Name = name; return manufacturer; }