/// <summary> /// Create a new OptionGroups object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="optionChoicesId">Initial value of the OptionChoicesId property.</param> public static OptionGroups CreateOptionGroups(global::System.Int32 id, global::System.Int32 optionChoicesId) { OptionGroups optionGroups = new OptionGroups(); optionGroups.Id = id; optionGroups.OptionChoicesId = optionChoicesId; return(optionGroups); }
/// <summary> /// Create a new OptionGroups object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="optionChoicesId">Initial value of the OptionChoicesId property.</param> public static OptionGroups CreateOptionGroups(global::System.Int32 id, global::System.Int32 optionChoicesId) { OptionGroups optionGroups = new OptionGroups(); optionGroups.Id = id; optionGroups.OptionChoicesId = optionChoicesId; return optionGroups; }
/// <summary> /// Deprecated Method for adding a new object to the OptionGroups EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOptionGroups(OptionGroups optionGroups) { base.AddObject("OptionGroups", optionGroups); }