/// <summary> /// Deprecated Method for adding a new object to the Feeds EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToFeeds(Feed feed) { base.AddObject("Feeds", feed); }
/// <summary> /// Create a new Feed object. /// </summary> /// <param name="feedId">Initial value of the FeedId property.</param> /// <param name="type">Initial value of the Type property.</param> /// <param name="data">Initial value of the Data property.</param> /// <param name="createdBy">Initial value of the CreatedBy property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> public static Feed CreateFeed(global::System.Int32 feedId, global::System.String type, global::System.String data, global::System.Int32 createdBy, global::System.DateTime createdDate) { Feed feed = new Feed(); feed.FeedId = feedId; feed.Type = type; feed.Data = data; feed.CreatedBy = createdBy; feed.CreatedDate = createdDate; return feed; }