Example #1
0
 /// <summary>
 /// Create a new OrderType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="code">Initial value of the Code property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="iDDivision">Initial value of the IDDivision property.</param>
 /// <param name="deleted">Initial value of the Deleted property.</param>
 public static OrderType CreateOrderType(global::System.Guid id, global::System.String code, global::System.String name, global::System.Guid iDDivision, global::System.Boolean deleted)
 {
     OrderType orderType = new OrderType();
     orderType.ID = id;
     orderType.Code = code;
     orderType.Name = name;
     orderType.IDDivision = iDDivision;
     orderType.Deleted = deleted;
     return orderType;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OrderType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOrderType(OrderType orderType)
 {
     base.AddObject("OrderType", orderType);
 }