예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the TwitterCredentials EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTwitterCredentials(TwitterCredentials twitterCredentials)
 {
     base.AddObject("TwitterCredentials", twitterCredentials);
 }
예제 #2
0
 /// <summary>
 /// Create a new TwitterCredentials object.
 /// </summary>
 /// <param name="u_username">Initial value of the u_username property.</param>
 /// <param name="tc_username">Initial value of the tc_username property.</param>
 /// <param name="tc_password">Initial value of the tc_password property.</param>
 public static TwitterCredentials CreateTwitterCredentials(global::System.String u_username, global::System.String tc_username, global::System.String tc_password)
 {
     TwitterCredentials twitterCredentials = new TwitterCredentials();
     twitterCredentials.u_username = u_username;
     twitterCredentials.tc_username = tc_username;
     twitterCredentials.tc_password = tc_password;
     return twitterCredentials;
 }