コード例 #1
0
ファイル: Recallms.cs プロジェクト: steev90/opendental
 ///<summary>Only run on server for mobile.  Takes the list of changes from the dental office and makes updates to those items in the mobile server db.  Also, make sure to run DeletedObjects.DeleteForMobile().</summary>
 public static void UpdateFromChangeList(List <Recallm> list, long customerNum)
 {
     for (int i = 0; i < list.Count; i++)
     {
         list[i].CustomerNum = customerNum;
         Recallm recallm = Crud.RecallmCrud.SelectOne(customerNum, list[i].RecallNum);
         if (recallm == null)               //not in db
         {
             Crud.RecallmCrud.Insert(list[i], true);
         }
         else
         {
             Crud.RecallmCrud.Update(list[i]);
         }
     }
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 /// <remarks/>
 public void SynchRecallsAsync(string RegistrationKey, Recallm[] recallList) {
     this.SynchRecallsAsync(RegistrationKey, recallList, null);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 /// <remarks/>
 public void SynchRecallsAsync(string RegistrationKey, Recallm[] recallList, object userState) {
     if ((this.SynchRecallsOperationCompleted == null)) {
         this.SynchRecallsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSynchRecallsOperationCompleted);
     }
     this.InvokeAsync("SynchRecalls", new object[] {
                 RegistrationKey,
                 recallList}, this.SynchRecallsOperationCompleted, userState);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 public void SynchRecalls(string RegistrationKey, Recallm[] recallList) {
     this.Invoke("SynchRecalls", new object[] {
                 RegistrationKey,
                 recallList});
 }