/// <summary>
 /// Deprecated Method for adding a new object to the Tokens EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTokens(Token token)
 {
     base.AddObject("Tokens", token);
 }
 /// <summary>
 /// Create a new Token object.
 /// </summary>
 /// <param name="id">Initial value of the Id property.</param>
 /// <param name="storeTypeId">Initial value of the StoreTypeId property.</param>
 /// <param name="userId">Initial value of the UserId property.</param>
 /// <param name="tokenContent">Initial value of the TokenContent property.</param>
 /// <param name="type">Initial value of the Type property.</param>
 public static Token CreateToken(global::System.Guid id, global::System.Byte storeTypeId, global::System.String userId, global::System.String tokenContent, global::System.Int32 type)
 {
     Token token = new Token();
     token.Id = id;
     token.StoreTypeId = storeTypeId;
     token.UserId = userId;
     token.TokenContent = tokenContent;
     token.Type = type;
     return token;
 }