private void InsertMetaData(ET.EnhancedTitles et) { TryInsertMetaData(et.InternationalEnglishTitle, "Title1"); TryInsertMetaData(et.AlternateOriginalTitle, "Title2"); TryInsertMetaData(et.NonLatinLettersTitle, "Title3"); TryInsertMetaData(et.AdditionalTitle1, "Title4"); TryInsertMetaData(et.AdditionalTitle2, "Title5"); }
private void InsertPluginData(ET.EnhancedTitles et) { var entity = new Entity.tEnhancedTitles() { tDVD = _currentDVDEntity, Title1 = GetTitle(et.InternationalEnglishTitle), Title2 = GetTitle(et.AlternateOriginalTitle), Title3 = GetTitle(et.NonLatinLettersTitle), Title4 = GetTitle(et.AdditionalTitle1), Title5 = GetTitle(et.AdditionalTitle2), }; _context.tEnhancedTitles.Add(entity); }