Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Polls EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPolls(Polls polls)
 {
     base.AddObject("Polls", polls);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new Polls object.
 /// </summary>
 /// <param name="p_id">Initial value of the p_id property.</param>
 /// <param name="p_title">Initial value of the p_title property.</param>
 /// <param name="p_startdate">Initial value of the p_startdate property.</param>
 /// <param name="p_enddate">Initial value of the p_enddate property.</param>
 /// <param name="p_showresultsuntil">Initial value of the p_showresultsuntil property.</param>
 public static Polls CreatePolls(global::System.Int32 p_id, global::System.String p_title, global::System.DateTime p_startdate, global::System.DateTime p_enddate, global::System.DateTime p_showresultsuntil)
 {
     Polls polls = new Polls();
     polls.p_id = p_id;
     polls.p_title = p_title;
     polls.p_startdate = p_startdate;
     polls.p_enddate = p_enddate;
     polls.p_showresultsuntil = p_showresultsuntil;
     return polls;
 }