Esempio n. 1
0
 private void InsertMetaData(EN.EnhancedNotes en)
 {
     TryInsertMetaData(en.Note1, "Note1");
     TryInsertMetaData(en.Note2, "Note2");
     TryInsertMetaData(en.Note3, "Note3");
     TryInsertMetaData(en.Note4, "Note4");
     TryInsertMetaData(en.Note5, "Note5");
 }
Esempio n. 2
0
        private void InsertPluginData(EN.EnhancedNotes en)
        {
            var entity = new Entity.tEnhancedNotes()
            {
                tDVD        = _currentDVDEntity,
                Note1       = GetNote(en.Note1),
                Note1isHtml = GetIsHtml(en.Note1),
                Note2       = GetNote(en.Note2),
                Note2isHtml = GetIsHtml(en.Note2),
                Note3       = GetNote(en.Note3),
                Note3isHtml = GetIsHtml(en.Note3),
                Note4       = GetNote(en.Note4),
                Note4isHtml = GetIsHtml(en.Note4),
                Note5       = GetNote(en.Note5),
                Note5isHtml = GetIsHtml(en.Note5),
            };

            _context.tEnhancedNotes.Add(entity);
        }