Exemple #1
0
        private static void CreateAndSaveNewLogRef(LogEntryRecord newLog, LogHelperEntry referenceEntry)
        {
            LogReferenceRecord record = LogReferenceRecord.CreateRecord();

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

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