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