Example #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TrendType EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTrendType(TrendType trendType)
 {
     base.AddObject("TrendType", trendType);
 }
Example #2
0
 /// <summary>
 /// Create a new TrendType object.
 /// </summary>
 /// <param name="trendTypeId">Initial value of the TrendTypeId property.</param>
 /// <param name="name">Initial value of the Name property.</param>
 /// <param name="isActive">Initial value of the IsActive property.</param>
 public static TrendType CreateTrendType(global::System.Int32 trendTypeId, global::System.String name, global::System.Boolean isActive)
 {
     TrendType trendType = new TrendType();
     trendType.TrendTypeId = trendTypeId;
     trendType.Name = name;
     trendType.IsActive = isActive;
     return trendType;
 }