Beispiel #1
0
 /// <summary>
 /// Create a new Choice object.
 /// </summary>
 /// <param name="choiceID">Initial value of the ChoiceID property.</param>
 public static Choice CreateChoice(global::System.Int32 choiceID)
 {
     Choice choice = new Choice();
     choice.ChoiceID = choiceID;
     return choice;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Choices EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToChoices(Choice choice)
 {
     base.AddObject("Choices", choice);
 }