예제 #1
0
 /// <summary>
 /// Create a new api_tokens object.
 /// </summary>
 /// <param name="tokenId">Initial value of the TokenId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="consumerId">Initial value of the ConsumerId property.</param>
 public static api_tokens Createapi_tokens(global::System.Int32 tokenId, global::System.Int32 userId, global::System.Int32 consumerId)
 {
     api_tokens api_tokens = new api_tokens();
     api_tokens.TokenId = tokenId;
     api_tokens.UserId = userId;
     api_tokens.ConsumerId = consumerId;
     return api_tokens;
 }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the api_tokens EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToapi_tokens(api_tokens api_tokens)
 {
     base.AddObject("api_tokens", api_tokens);
 }