/// <summary> /// Create a new tbl_venda object. /// </summary> /// <param name="codigoVenda">Initial value of the CodigoVenda property.</param> /// <param name="codigoPessoa">Initial value of the CodigoPessoa property.</param> /// <param name="codigoFuncionario">Initial value of the CodigoFuncionario property.</param> /// <param name="dataVenda">Initial value of the DataVenda property.</param> public static tbl_venda Createtbl_venda(global::System.Int32 codigoVenda, global::System.Int32 codigoPessoa, global::System.Int32 codigoFuncionario, global::System.DateTime dataVenda) { tbl_venda tbl_venda = new tbl_venda(); tbl_venda.CodigoVenda = codigoVenda; tbl_venda.CodigoPessoa = codigoPessoa; tbl_venda.CodigoFuncionario = codigoFuncionario; tbl_venda.DataVenda = dataVenda; return tbl_venda; }
/// <summary> /// Deprecated Method for adding a new object to the tbl_venda EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotbl_venda(tbl_venda tbl_venda) { base.AddObject("tbl_venda", tbl_venda); }