Exemple #1
0
        /// <summary>
        /// Create a new tblOrderItem object.
        /// </summary>
        /// <param name="rowId">Initial value of the RowId property.</param>
        /// <param name="orderId">Initial value of the OrderId property.</param>
        /// <param name="clientId">Initial value of the ClientId property.</param>
        /// <param name="productId">Initial value of the ProductId property.</param>
        /// <param name="quantity">Initial value of the Quantity property.</param>
        /// <param name="unitPrice">Initial value of the UnitPrice property.</param>
        /// <param name="orderClosed">Initial value of the OrderClosed property.</param>
        public static tblOrderItem CreatetblOrderItem(global::System.Int32 rowId, global::System.Int32 orderId, global::System.Int32 clientId, global::System.Int32 productId, global::System.Int32 quantity, global::System.Double unitPrice, global::System.Boolean orderClosed)
        {
            tblOrderItem tblOrderItem = new tblOrderItem();

            tblOrderItem.RowId       = rowId;
            tblOrderItem.OrderId     = orderId;
            tblOrderItem.ClientId    = clientId;
            tblOrderItem.ProductId   = productId;
            tblOrderItem.Quantity    = quantity;
            tblOrderItem.UnitPrice   = unitPrice;
            tblOrderItem.OrderClosed = orderClosed;
            return(tblOrderItem);
        }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tblOrderItems EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotblOrderItems(tblOrderItem tblOrderItem)
 {
     base.AddObject("tblOrderItems", tblOrderItem);
 }