コード例 #1
0
ファイル: Reference.cs プロジェクト: paulmd3/mpx_mobile
 /// <remarks/>
 public void insertAccountNoteAsync(insertAccountNoteRequest insertAccountNoteRequest) {
     this.insertAccountNoteAsync(insertAccountNoteRequest, null);
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: paulmd3/mpx_mobile
 /// <remarks/>
 public void insertAccountNoteAsync(insertAccountNoteRequest insertAccountNoteRequest, object userState) {
     if ((this.insertAccountNoteOperationCompleted == null)) {
         this.insertAccountNoteOperationCompleted = new System.Threading.SendOrPostCallback(this.OninsertAccountNoteOperationCompleted);
     }
     this.InvokeAsync("insertAccountNote", new object[] {
                 insertAccountNoteRequest}, this.insertAccountNoteOperationCompleted, userState);
 }
コード例 #3
0
ファイル: Notes.cs プロジェクト: paulmd3/mpx_mobile
 /// <summary>
 /// Inserts a note to a specific donor account
 /// </summary>
 /// <param name="id">Account Id</param>
 /// <param name="type">Type of note</param>
 /// <param name="note">Stirng</param>
 public void InsertNote(string id, string type, string note)
 {
     var port = Models.Util.Port();
     accountNote insNotes = new accountNote();
     insNotes.accountId = int.Parse(id);
     insNotes.note = HttpContext.Current.User.Identity.Name+" wrote: "+note;
     insNotes.noteType = type;
     insNotes.addDate = DateTime.Now;
     insNotes.nextActionNote = "NULL";
     insNotes.addUserId = 18;
     insNotes.modifiedDate = DateTime.Now;
     insNotes.modifiedUserId = 18;
     insNotes.nextDate = DateTime.Now;
     insertAccountNoteRequest insNotesInf = new insertAccountNoteRequest();
     insNotesInf.accountNote = insNotes;
     var account = port.insertAccountNote(insNotesInf);
 }