コード例 #1
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <summary>
 /// Deprecated Method for adding a new object to the TrialExpirationOptions EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrialExpirationOptions(TrialExpirationOption trialExpirationOption)
 {
     base.AddObject("TrialExpirationOptions", trialExpirationOption);
 }
コード例 #2
0
ファイル: DB.Designer.cs プロジェクト: staxmanade/Scutex
 /// <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;
 }