Beispiel #1
0
 /// <summary>
 /// Create a new Feed object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="feed1">Initial value of the Feed1 property.</param>
 /// <param name="insertedDate">Initial value of the InsertedDate property.</param>
 /// <param name="sectionsId">Initial value of the SectionsId property.</param>
 /// <param name="providersId">Initial value of the ProvidersId property.</param>
 public static Feed CreateFeed(global::System.Int32 id, global::System.String feed1, global::System.DateTime insertedDate, global::System.Int32 sectionsId, global::System.Int32 providersId)
 {
     Feed feed = new Feed();
     feed.Id = id;
     feed.Feed1 = feed1;
     feed.InsertedDate = insertedDate;
     feed.SectionsId = sectionsId;
     feed.ProvidersId = providersId;
     return feed;
 }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Feeds EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToFeeds(Feed feed)
 {
     base.AddObject("Feeds", feed);
 }