/// <summary> /// Create a new Option object. /// </summary> /// <param name="id">Initial value of the ID property.</param> /// <param name="lateMin">Initial value of the LateMin property.</param> /// <param name="earlyIn">Initial value of the EarlyIn property.</param> /// <param name="earlyOut">Initial value of the EarlyOut property.</param> /// <param name="extraOut">Initial value of the ExtraOut property.</param> public static Option CreateOption(global::System.Int16 id, global::System.Int16 lateMin, global::System.Int16 earlyIn, global::System.Int16 earlyOut, global::System.Int16 extraOut) { Option option = new Option(); option.ID = id; option.LateMin = lateMin; option.EarlyIn = earlyIn; option.EarlyOut = earlyOut; option.ExtraOut = extraOut; 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); }