/// <summary> /// Create a new ecommrc_AuthTokens object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="tokenId">Initial value of the TokenId property.</param> /// <param name="userId">Initial value of the UserId property.</param> /// <param name="expires">Initial value of the Expires property.</param> public static ecommrc_AuthTokens Createecommrc_AuthTokens(global::System.Int64 id, global::System.Guid tokenId, global::System.Int64 userId, global::System.DateTime expires) { ecommrc_AuthTokens ecommrc_AuthTokens = new ecommrc_AuthTokens(); ecommrc_AuthTokens.Id = id; ecommrc_AuthTokens.TokenId = tokenId; ecommrc_AuthTokens.UserId = userId; ecommrc_AuthTokens.Expires = expires; return ecommrc_AuthTokens; }
/// <summary> /// Deprecated Method for adding a new object to the ecommrc_AuthTokens EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToecommrc_AuthTokens(ecommrc_AuthTokens ecommrc_AuthTokens) { base.AddObject("ecommrc_AuthTokens", ecommrc_AuthTokens); }