/// <summary> /// Deprecated Method for adding a new object to the Producer EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProducer(Producer producer) { base.AddObject("Producer", producer); }
/// <summary> /// Create a new Producer object. /// </summary> /// <param name="producerID">Initial value of the ProducerID property.</param> /// <param name="name">Initial value of the Name property.</param> public static Producer CreateProducer(global::System.Int32 producerID, global::System.String name) { Producer producer = new Producer(); producer.ProducerID = producerID; producer.Name = name; return producer; }