/// <summary> /// Deprecated Method for adding a new object to the ReceivingUnitTypes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToReceivingUnitTypes(ReceivingUnitType receivingUnitType) { base.AddObject("ReceivingUnitTypes", receivingUnitType); }
/// <summary> /// Create a new ReceivingUnitType object. /// </summary> /// <param name="id">Initial value of the ID property.</param> public static ReceivingUnitType CreateReceivingUnitType(global::System.Int32 id) { ReceivingUnitType receivingUnitType = new ReceivingUnitType(); receivingUnitType.ID = id; return receivingUnitType; }