Ejemplo n.º 1
0
 partial void DeleteOAuthToken(OAuthToken instance);
Ejemplo n.º 2
0
 partial void UpdateOAuthToken(OAuthToken instance);
Ejemplo n.º 3
0
 /// <summary>
 /// Deprecated Method for adding a new object to the OAuthTokens EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToOAuthTokens(OAuthToken oAuthToken)
 {
     base.AddObject("OAuthTokens", oAuthToken);
 }
Ejemplo n.º 4
0
 partial void InsertOAuthToken(OAuthToken instance);
Ejemplo n.º 5
0
 /// <summary>
 /// Create a new OAuthToken object.
 /// </summary>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="providerId">Initial value of the ProviderId property.</param>
 /// <param name="consumerKey">Initial value of the ConsumerKey property.</param>
 /// <param name="consumerSecret">Initial value of the ConsumerSecret property.</param>
 /// <param name="createdAt">Initial value of the CreatedAt property.</param>
 public static OAuthToken CreateOAuthToken(global::System.Int32 userId, global::System.Int32 providerId, global::System.String consumerKey, global::System.String consumerSecret, global::System.DateTime createdAt)
 {
     OAuthToken oAuthToken = new OAuthToken();
     oAuthToken.UserId = userId;
     oAuthToken.ProviderId = providerId;
     oAuthToken.ConsumerKey = consumerKey;
     oAuthToken.ConsumerSecret = consumerSecret;
     oAuthToken.CreatedAt = createdAt;
     return oAuthToken;
 }