Esempio n. 1
0
 private void LoadItems()
 {
     try
     {
         this._asda2LoadedItems         = (ICollection <Asda2ItemRecord>)Asda2ItemRecord.LoadItems(this.EntityLowId);
         this._asda2LoadedFastItemSlots =
             (ICollection <Asda2FastItemSlotRecord>)Asda2FastItemSlotRecord.LoadItems(this.EntityLowId);
     }
     catch (Exception ex)
     {
         RealmDBMgr.OnDBError(ex);
         this._asda2LoadedItems         = (ICollection <Asda2ItemRecord>)Asda2ItemRecord.LoadItems(this.EntityLowId);
         this._asda2LoadedFastItemSlots =
             (ICollection <Asda2FastItemSlotRecord>)Asda2FastItemSlotRecord.LoadItems(this.EntityLowId);
     }
 }
Esempio n. 2
0
 private void LoadItems()
 {
     try
     {
         _asda2LoadedItems         = Asda2ItemRecord.LoadItems(EntityLowId);
         _asda2LoadedFastItemSlots =
             Asda2FastItemSlotRecord.LoadItems(EntityLowId);
     }
     catch (Exception ex)
     {
         RealmDBMgr.OnDBError(ex);
         _asda2LoadedItems         = Asda2ItemRecord.LoadItems(EntityLowId);
         _asda2LoadedFastItemSlots =
             Asda2FastItemSlotRecord.LoadItems(EntityLowId);
     }
 }