/// <summary> /// Deprecated Method for adding a new object to the TrialExpirationOptions EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrialExpirationOptions(TrialExpirationOption trialExpirationOption) { base.AddObject("TrialExpirationOptions", trialExpirationOption); }
/// <summary> /// Create a new TrialExpirationOption object. /// </summary> /// <param name="trialExpirationOptionId">Initial value of the TrialExpirationOptionId property.</param> /// <param name="description">Initial value of the Description property.</param> public static TrialExpirationOption CreateTrialExpirationOption(global::System.Int32 trialExpirationOptionId, global::System.String description) { TrialExpirationOption trialExpirationOption = new TrialExpirationOption(); trialExpirationOption.TrialExpirationOptionId = trialExpirationOptionId; trialExpirationOption.Description = description; return trialExpirationOption; }