/// <summary> /// Create a new item_venda object. /// </summary> /// <param name="idVenda">Initial value of the IdVenda property.</param> /// <param name="idProduto">Initial value of the IdProduto property.</param> /// <param name="quantidade">Initial value of the Quantidade property.</param> /// <param name="precoVenda">Initial value of the PrecoVenda property.</param> public static item_venda Createitem_venda(global::System.Int32 idVenda, global::System.Int32 idProduto, global::System.SByte quantidade, global::System.Decimal precoVenda) { item_venda item_venda = new item_venda(); item_venda.IdVenda = idVenda; item_venda.IdProduto = idProduto; item_venda.Quantidade = quantidade; item_venda.PrecoVenda = precoVenda; return item_venda; }
/// <summary> /// Deprecated Method for adding a new object to the item_venda EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToitem_venda(item_venda item_venda) { base.AddObject("item_venda", item_venda); }