/// <summary> /// Deprecated Method for adding a new object to the Nonces EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToNonces(Nonce nonce) { base.AddObject("Nonces", nonce); }
/// <summary> /// Create a new Nonce object. /// </summary> /// <param name="context">Initial value of the Context property.</param> /// <param name="code">Initial value of the Code property.</param> /// <param name="timestamp">Initial value of the Timestamp property.</param> public static Nonce CreateNonce(global::System.String context, global::System.String code, global::System.DateTime timestamp) { Nonce nonce = new Nonce(); nonce.Context = context; nonce.Code = code; nonce.Timestamp = timestamp; return nonce; }