Exemplo n.º 1
0
 public LogHelperEntry AddReference(LogHelperEntry lgDelete)
 {
     if (lgDelete != null)
     {
         _referenceEntries.Add(lgDelete);
     }
     return(this);
 }
Exemplo n.º 2
0
        private static void CreateAndSaveNewLogRef(LogEntryRecord newLog, LogHelperEntry referenceEntry)
        {
            LogReferenceRecord record = LogReferenceRecord.CreateRecord();

            record.LogEntryId          = newLog.Id;
            record.ReferenceLogEntryId = referenceEntry.Record.Id;
            record.Save();
        }
Exemplo n.º 3
0
        private static void CreateAndSaveNewLogRef(LogEntryRecord newLog, LogHelperEntry referenceEntry)
        {
            var newRefRec = LogReferenceRecord.CreateRecord();

            newRefRec.LogEntryId          = newLog.Id;
            newRefRec.ReferenceLogEntryId = referenceEntry.Record.Id;
            newRefRec.Save();
        }