Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the RandomFrequencies EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToRandomFrequencies(RandomFrequency randomFrequency)
 {
     base.AddObject("RandomFrequencies", randomFrequency);
 }
Пример #2
0
 /// <summary>
 /// Create a new RandomFrequency object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="specificFrequencyID">Initial value of the SpecificFrequencyID property.</param>
 /// <param name="lastUpdated">Initial value of the LastUpdated property.</param>
 /// <param name="lastUpdatedBy">Initial value of the LastUpdatedBy property.</param>
 public static RandomFrequency CreateRandomFrequency(global::System.Int32 id, global::System.String name, global::System.Int32 specificFrequencyID, global::System.DateTime lastUpdated, global::System.String lastUpdatedBy)
 {
     RandomFrequency randomFrequency = new RandomFrequency();
     randomFrequency.ID = id;
     randomFrequency.Name = name;
     randomFrequency.SpecificFrequencyID = specificFrequencyID;
     randomFrequency.LastUpdated = lastUpdated;
     randomFrequency.LastUpdatedBy = lastUpdatedBy;
     return randomFrequency;
 }