/// <summary> /// Deprecated Method for adding a new object to the venda EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTovenda(venda venda) { base.AddObject("venda", venda); }
/// <summary> /// Create a new venda object. /// </summary> /// <param name="cod_venda">Initial value of the cod_venda property.</param> /// <param name="cod_item">Initial value of the cod_item property.</param> public static venda Createvenda(global::System.Int32 cod_venda, global::System.Int32 cod_item) { venda venda = new venda(); venda.cod_venda = cod_venda; venda.cod_item = cod_item; return venda; }