Exemple #1
0
 private void OnRecordCreated(ItemRecord record)
 {
     if (!this.IsCharter || record.IsNew)
     {
         return;
     }
     PetitionRecord.LoadRecord(record.OwnerId);
 }
Exemple #2
0
 private void OnRecordCreated(ItemRecord record)
 {
     if (IsCharter)
     {
         if (!record.IsNew)
         {
             // this is executed in the IO-context
             PetitionRecord.LoadRecord(record.OwnerId);
         }
     }
 }