/// <summary> /// Deprecated Method for adding a new object to the Trend EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTrend(Trend trend) { base.AddObject("Trend", trend); }
/// <summary> /// Create a new Trend object. /// </summary> /// <param name="trendId">Initial value of the TrendId property.</param> /// <param name="trendTypeId">Initial value of the TrendTypeId property.</param> /// <param name="categoryId">Initial value of the CategoryId property.</param> /// <param name="postedBy">Initial value of the PostedBy property.</param> /// <param name="createdOn">Initial value of the CreatedOn property.</param> /// <param name="updatedOn">Initial value of the UpdatedOn property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="updatedBy">Initial value of the UpdatedBy property.</param> /// <param name="isActive">Initial value of the IsActive property.</param> /// <param name="isDeleted">Initial value of the IsDeleted property.</param> public static Trend CreateTrend(global::System.Int64 trendId, global::System.Int32 trendTypeId, global::System.Int32 categoryId, global::System.Int64 postedBy, global::System.DateTime createdOn, global::System.DateTime updatedOn, global::System.Int64 createdBy, global::System.Int64 updatedBy, global::System.Boolean isActive, global::System.Boolean isDeleted) { Trend trend = new Trend(); trend.TrendId = trendId; trend.TrendTypeId = trendTypeId; trend.CategoryId = categoryId; trend.PostedBy = postedBy; trend.CreatedOn = createdOn; trend.UpdatedOn = updatedOn; trend.CreatedBy = createdBy; trend.UpdatedBy = updatedBy; trend.IsActive = isActive; trend.IsDeleted = isDeleted; return trend; }