/// <summary>
 /// Deprecated Method for adding a new object to the venda EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovenda(venda venda)
 {
     base.AddObject("venda", venda);
 }
 /// <summary>
 /// Create a new venda object.
 /// </summary>
 /// <param name="idVenda">Initial value of the IdVenda property.</param>
 /// <param name="idPessoa">Initial value of the IdPessoa property.</param>
 /// <param name="dataVenda">Initial value of the DataVenda property.</param>
 /// <param name="valorVenda">Initial value of the ValorVenda property.</param>
 public static venda Createvenda(global::System.Int32 idVenda, global::System.Int16 idPessoa, global::System.DateTime dataVenda, global::System.Double valorVenda)
 {
     venda venda = new venda();
     venda.IdVenda = idVenda;
     venda.IdPessoa = idPessoa;
     venda.DataVenda = dataVenda;
     venda.ValorVenda = valorVenda;
     return venda;
 }