/// <summary> /// Deprecated Method for adding a new object to the tblVendas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTotblVendas(tblVendas tblVendas) { base.AddObject("tblVendas", tblVendas); }
/// <summary> /// Create a new tblVendas object. /// </summary> /// <param name="idVenda">Initial value of the idVenda property.</param> /// <param name="preco">Initial value of the preco property.</param> /// <param name="dataVenda">Initial value of the dataVenda property.</param> /// <param name="idVeiculo">Initial value of the idVeiculo property.</param> public static tblVendas CreatetblVendas(global::System.Int32 idVenda, global::System.Double preco, global::System.DateTime dataVenda, global::System.Int32 idVeiculo) { tblVendas tblVendas = new tblVendas(); tblVendas.idVenda = idVenda; tblVendas.preco = preco; tblVendas.dataVenda = dataVenda; tblVendas.idVeiculo = idVeiculo; return tblVendas; }