Ejemplo n.º 1
0
 /// <summary>
 /// Create a new votos object.
 /// </summary>
 /// <param name="designId">Initial value of the DesignId property.</param>
 /// <param name="compraria">Initial value of the Compraria property.</param>
 /// <param name="voto">Initial value of the Voto property.</param>
 /// <param name="dataIns">Initial value of the DataIns property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="valido">Initial value of the Valido property.</param>
 /// <param name="notificadoLancamento">Initial value of the NotificadoLancamento property.</param>
 public static votos Createvotos(global::System.Int32 designId, global::System.Byte compraria, global::System.Byte voto, global::System.DateTime dataIns, global::System.Int32 userId, global::System.Byte valido, global::System.Byte notificadoLancamento)
 {
     votos votos = new votos();
     votos.DesignId = designId;
     votos.Compraria = compraria;
     votos.Voto = voto;
     votos.DataIns = dataIns;
     votos.UserId = userId;
     votos.Valido = valido;
     votos.NotificadoLancamento = notificadoLancamento;
     return votos;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the votos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTovotos(votos votos)
 {
     base.AddObject("votos", votos);
 }