/// <summary> /// Create a new Option object. /// </summary> /// <param name="title">Initial value of the Title property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> public static Option CreateOption(global::System.String title, global::System.Boolean isActive) { Option option = new Option(); option.Title = title; option.IsActive = isActive; return option; }
/// <summary> /// Deprecated Method for adding a new object to the Options EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToOptions(Option option) { base.AddObject("Options", option); }