コード例 #1
0
ファイル: bCheckDB.Designer.cs プロジェクト: nilavghosh/VChk
 /// <summary>
 /// Deprecated Method for adding a new object to the Frequencies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFrequencies(Frequency frequency)
 {
     base.AddObject("Frequencies", frequency);
 }
コード例 #2
0
ファイル: bCheckDB.Designer.cs プロジェクト: nilavghosh/VChk
 /// <summary>
 /// Create a new Frequency object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 public static Frequency CreateFrequency(global::System.Int32 id, global::System.String name, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy)
 {
     Frequency frequency = new Frequency();
     frequency.ID = id;
     frequency.Name = name;
     frequency.LastUpdated = lastUpdated;
     frequency.LastUpdatedBy = lastUpdatedBy;
     return frequency;
 }