/// <summary> /// Create a new ApplicationOption object. /// </summary> /// <param name="optionId">Initial value of the OptionId property.</param> public static ApplicationOption CreateApplicationOption(global::System.Int32 optionId) { ApplicationOption applicationOption = new ApplicationOption(); applicationOption.OptionId = optionId; return(applicationOption); }
/// <summary> /// Deprecated Method for adding a new object to the ApplicationOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToApplicationOptions(ApplicationOption applicationOption) { base.AddObject("ApplicationOptions", applicationOption); }