/// <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; }
/// <summary> /// Deprecated Method for adding a new object to the Choices EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToChoices(Choice choice) { base.AddObject("Choices", choice); }