/// <summary> /// Deprecated Method for adding a new object to the AuthorizationNotes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAuthorizationNotes(AuthorizationNote authorizationNote) { base.AddObject("AuthorizationNotes", authorizationNote); }
/// <summary> /// Create a new AuthorizationNote object. /// </summary> /// <param name="authorizationNoteId">Initial value of the AuthorizationNoteId property.</param> /// <param name="authorizationRequestId">Initial value of the AuthorizationRequestId property.</param> /// <param name="created">Initial value of the Created property.</param> /// <param name="note">Initial value of the Note property.</param> /// <param name="currentVersion">Initial value of the CurrentVersion property.</param> /// <param name="accountId">Initial value of the AccountId property.</param> public static AuthorizationNote CreateAuthorizationNote(global::System.Int32 authorizationNoteId, global::System.Int32 authorizationRequestId, global::System.DateTimeOffset created, global::System.String note, global::System.Byte[] currentVersion, global::System.Int32 accountId) { AuthorizationNote authorizationNote = new AuthorizationNote(); authorizationNote.AuthorizationNoteId = authorizationNoteId; authorizationNote.AuthorizationRequestId = authorizationRequestId; authorizationNote.Created = created; authorizationNote.Note = note; authorizationNote.CurrentVersion = currentVersion; authorizationNote.AccountId = accountId; return authorizationNote; }