/// <summary> /// Create a new SaleOrder object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="saleOrderNo">Initial value of the SaleOrderNo property.</param> /// <param name="saleOrderDate">Initial value of the SaleOrderDate property.</param> /// <param name="saleOrder_Customer">Initial value of the SaleOrder_Customer property.</param> /// <param name="saleOrderStatus">Initial value of the SaleOrderStatus property.</param> /// <param name="rowVersion">Initial value of the RowVersion property.</param> public static SaleOrder CreateSaleOrder(global::System.Int32 id, global::System.String saleOrderNo, global::System.DateTime saleOrderDate, global::System.Int32 saleOrder_Customer, global::System.Boolean saleOrderStatus, global::System.Byte[] rowVersion) { SaleOrder saleOrder = new SaleOrder(); saleOrder.Id = id; saleOrder.SaleOrderNo = saleOrderNo; saleOrder.SaleOrderDate = saleOrderDate; saleOrder.SaleOrder_Customer = saleOrder_Customer; saleOrder.SaleOrderStatus = saleOrderStatus; saleOrder.RowVersion = rowVersion; return saleOrder; }
/// <summary> /// Deprecated Method for adding a new object to the SaleOrders EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSaleOrders(SaleOrder saleOrder) { base.AddObject("SaleOrders", saleOrder); }