/// <summary> /// Create a new UnitofIssue object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="text">Initial value of the Text property.</param> /// <param name="qtyPerUnit">Initial value of the QtyPerUnit property.</param> public static UnitofIssue CreateUnitofIssue(global::System.Int32 id, global::System.String text, global::System.Int32 qtyPerUnit) { UnitofIssue unitofIssue = new UnitofIssue(); unitofIssue.ID = id; unitofIssue.Text = text; unitofIssue.QtyPerUnit = qtyPerUnit; return unitofIssue; }
/// <summary> /// Deprecated Method for adding a new object to the UnitofIssues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToUnitofIssues(UnitofIssue unitofIssue) { base.AddObject("UnitofIssues", unitofIssue); }