/// <summary> /// Create a new Producer object. /// </summary> /// <param name="id">Initial value of Id.</param> /// <param name="name">Initial value of Name.</param> public static Producer CreateProducer(int id, string name) { Producer producer = new Producer(); producer.Id = id; producer.Name = name; return producer; }
/// <summary> /// Deprecated Method for adding a new object to the Producers EntitySet. /// </summary> public void AddToProducers(Producer producer) { base.AddObject("Producers", producer); }