/// <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(Options options) { base.AddObject("Options", options); }
/// <summary> /// Create a new Options object. /// </summary> /// <param name="optID">Initial value of the OptID property.</param> /// <param name="recID">Initial value of the RecID property.</param> /// <param name="optionName">Initial value of the OptionName property.</param> /// <param name="price">Initial value of the Price property.</param> public static Options CreateOptions(global::System.Int64 optID, global::System.Int64 recID, global::System.String optionName, global::System.Decimal price) { Options options = new Options(); options.OptID = optID; options.RecID = recID; options.OptionName = optionName; options.Price = price; return options; }