예제 #1
0
 public LogHelperEntry AddReference(LogHelperEntry lgDelete)
 {
     if (lgDelete != null)
     {
         _referenceEntries.Add(lgDelete);
     }
     return(this);
 }
예제 #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();
        }
예제 #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();
        }