Esempio n. 1
0
 /// <summary>
 /// Create a new veiculos object.
 /// </summary>
 /// <param name="veiculoId">Initial value of the VeiculoId property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="qtdVendas">Initial value of the QtdVendas property.</param>
 /// <param name="qtdVisitas">Initial value of the QtdVisitas property.</param>
 /// <param name="codigo">Initial value of the Codigo property.</param>
 /// <param name="nome">Initial value of the Nome property.</param>
 /// <param name="horasCookie">Initial value of the HorasCookie property.</param>
 public static veiculos Createveiculos(global::System.Int32 veiculoId, global::System.DateTime dataIns, global::System.Int32 qtdVendas, global::System.Int32 qtdVisitas, global::System.String codigo, global::System.String nome, global::System.Int32 horasCookie)
 {
     veiculos veiculos = new veiculos();
     veiculos.VeiculoId = veiculoId;
     veiculos.DataIns = dataIns;
     veiculos.QtdVendas = qtdVendas;
     veiculos.QtdVisitas = qtdVisitas;
     veiculos.Codigo = codigo;
     veiculos.Nome = nome;
     veiculos.HorasCookie = horasCookie;
     return veiculos;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the veiculos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToveiculos(veiculos veiculos)
 {
     base.AddObject("veiculos", veiculos);
 }