/// <summary> /// Create a new ProducerMaster object. /// </summary> /// <param name="producerId">Initial value of the ProducerId property.</param> public static ProducerMaster CreateProducerMaster(global::System.Int32 producerId) { ProducerMaster producerMaster = new ProducerMaster(); producerMaster.ProducerId = producerId; return producerMaster; }
/// <summary> /// Deprecated Method for adding a new object to the ProducerMasters EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToProducerMasters(ProducerMaster producerMaster) { base.AddObject("ProducerMasters", producerMaster); }