示例#1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ExitPolls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToExitPolls(ExitPoll exitPoll)
 {
     base.AddObject("ExitPolls", exitPoll);
 }
示例#2
0
 /// <summary>
 /// Create a new ExitPoll object.
 /// </summary>
 /// <param name="id">Initial value of the id property.</param>
 /// <param name="id_candidato">Initial value of the id_candidato property.</param>
 /// <param name="id_centro">Initial value of the id_centro property.</param>
 /// <param name="fecha">Initial value of the fecha property.</param>
 /// <param name="id_timeline">Initial value of the id_timeline property.</param>
 /// <param name="valor">Initial value of the valor property.</param>
 /// <param name="id_testigoExitPoll">Initial value of the id_testigoExitPoll property.</param>
 public static ExitPoll CreateExitPoll(global::System.Int32 id, global::System.Int32 id_candidato, global::System.Int32 id_centro, global::System.DateTime fecha, global::System.Int32 id_timeline, global::System.Int32 valor, global::System.Int32 id_testigoExitPoll)
 {
     ExitPoll exitPoll = new ExitPoll();
     exitPoll.id = id;
     exitPoll.id_candidato = id_candidato;
     exitPoll.id_centro = id_centro;
     exitPoll.fecha = fecha;
     exitPoll.id_timeline = id_timeline;
     exitPoll.valor = valor;
     exitPoll.id_testigoExitPoll = id_testigoExitPoll;
     return exitPoll;
 }