コード例 #1
0
        /// <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);
        }
コード例 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ApplicationOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToApplicationOptions(ApplicationOption applicationOption)
 {
     base.AddObject("ApplicationOptions", applicationOption);
 }