/// <summary> /// Deprecated Method for adding a new object to the TrendType EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrendType(TrendType trendType) { base.AddObject("TrendType", trendType); }
/// <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; }