/// <summary> /// Deprecated Method for adding a new object to the tbl_item EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_item(tbl_item tbl_item) { base.AddObject("tbl_item", tbl_item); }
/// <summary> /// Create a new tbl_item object. /// </summary> /// <param name="codigoItem">Initial value of the CodigoItem property.</param> /// <param name="codigoVenda">Initial value of the CodigoVenda property.</param> /// <param name="codigoProduto">Initial value of the CodigoProduto property.</param> /// <param name="quantidade">Initial value of the Quantidade property.</param> /// <param name="valorItem">Initial value of the ValorItem property.</param> /// <param name="quantidadeMinima">Initial value of the QuantidadeMinima property.</param> /// <param name="precoCusto">Initial value of the PrecoCusto property.</param> /// <param name="precoVenda">Initial value of the PrecoVenda property.</param> /// <param name="codigoPessoa">Initial value of the CodigoPessoa property.</param> public static tbl_item Createtbl_item(global::System.Int32 codigoItem, global::System.Int32 codigoVenda, global::System.Int32 codigoProduto, global::System.Decimal quantidade, global::System.Decimal valorItem, global::System.Decimal quantidadeMinima, global::System.Decimal precoCusto, global::System.Decimal precoVenda, global::System.Int32 codigoPessoa) { tbl_item tbl_item = new tbl_item(); tbl_item.CodigoItem = codigoItem; tbl_item.CodigoVenda = codigoVenda; tbl_item.CodigoProduto = codigoProduto; tbl_item.Quantidade = quantidade; tbl_item.ValorItem = valorItem; tbl_item.QuantidadeMinima = quantidadeMinima; tbl_item.PrecoCusto = precoCusto; tbl_item.PrecoVenda = precoVenda; tbl_item.CodigoPessoa = codigoPessoa; return tbl_item; }