コード例 #1
0
 ///<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 <ICD9m> list, long customerNum)
 {
     for (int i = 0; i < list.Count; i++)
     {
         list[i].CustomerNum = customerNum;
         ICD9m iCD9m = Crud.ICD9mCrud.SelectOne(customerNum, list[i].ICD9Num);
         if (iCD9m == null)               //not in db
         {
             Crud.ICD9mCrud.Insert(list[i], true);
         }
         else
         {
             Crud.ICD9mCrud.Update(list[i]);
         }
     }
 }
コード例 #2
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 /// <remarks/>
 public void SynchICD9sAsync(string RegistrationKey, ICD9m[] icd9List) {
     this.SynchICD9sAsync(RegistrationKey, icd9List, null);
 }
コード例 #3
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 /// <remarks/>
 public void SynchICD9sAsync(string RegistrationKey, ICD9m[] icd9List, object userState) {
     if ((this.SynchICD9sOperationCompleted == null)) {
         this.SynchICD9sOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSynchICD9sOperationCompleted);
     }
     this.InvokeAsync("SynchICD9s", new object[] {
                 RegistrationKey,
                 icd9List}, this.SynchICD9sOperationCompleted, userState);
 }
コード例 #4
0
ファイル: Reference.cs プロジェクト: romeroyonatan/opendental
 public void SynchICD9s(string RegistrationKey, ICD9m[] icd9List) {
     this.Invoke("SynchICD9s", new object[] {
                 RegistrationKey,
                 icd9List});
 }