예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the PollChoices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToPollChoices(PollChoices pollChoices)
 {
     base.AddObject("PollChoices", pollChoices);
 }
예제 #2
0
 /// <summary>
 /// Create a new PollChoices object.
 /// </summary>
 /// <param name="pc_id">Initial value of the pc_id property.</param>
 /// <param name="p_id">Initial value of the p_id property.</param>
 /// <param name="pc_answer">Initial value of the pc_answer property.</param>
 public static PollChoices CreatePollChoices(global::System.Int32 pc_id, global::System.Int32 p_id, global::System.String pc_answer)
 {
     PollChoices pollChoices = new PollChoices();
     pollChoices.pc_id = pc_id;
     pollChoices.p_id = p_id;
     pollChoices.pc_answer = pc_answer;
     return pollChoices;
 }