/// <summary> /// Create a new Ecommerce_PedidoItem object. /// </summary> /// <param name="idPedidoItem">Initial value of the IdPedidoItem property.</param> /// <param name="idProduto">Initial value of the IdProduto property.</param> /// <param name="idPedido">Initial value of the IdPedido property.</param> /// <param name="quantidadeProduto">Initial value of the QuantidadeProduto property.</param> /// <param name="valorProduto">Initial value of the ValorProduto property.</param> /// <param name="dataInclusao">Initial value of the DataInclusao property.</param> public static Ecommerce_PedidoItem CreateEcommerce_PedidoItem(global::System.Int32 idPedidoItem, global::System.Int32 idProduto, global::System.Int32 idPedido, global::System.Int32 quantidadeProduto, global::System.Decimal valorProduto, global::System.DateTime dataInclusao) { Ecommerce_PedidoItem ecommerce_PedidoItem = new Ecommerce_PedidoItem(); ecommerce_PedidoItem.IdPedidoItem = idPedidoItem; ecommerce_PedidoItem.IdProduto = idProduto; ecommerce_PedidoItem.IdPedido = idPedido; ecommerce_PedidoItem.QuantidadeProduto = quantidadeProduto; ecommerce_PedidoItem.ValorProduto = valorProduto; ecommerce_PedidoItem.DataInclusao = dataInclusao; return ecommerce_PedidoItem; }
/// <summary> /// Deprecated Method for adding a new object to the Ecommerce_PedidoItem EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEcommerce_PedidoItem(Ecommerce_PedidoItem ecommerce_PedidoItem) { base.AddObject("Ecommerce_PedidoItem", ecommerce_PedidoItem); }