Example #1
0
 /// <summary>
 /// Create a new Tweet object.
 /// </summary>
 /// <param name="tweetID">Initial value of the TweetID property.</param>
 public static Tweet CreateTweet(global::System.String tweetID)
 {
     Tweet tweet = new Tweet();
     tweet.TweetID = tweetID;
     return tweet;
 }
Example #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Tweets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTweets(Tweet tweet)
 {
     base.AddObject("Tweets", tweet);
 }