/// <summary> /// Deprecated Method for adding a new object to the VocabBanksTranslations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToVocabBanksTranslations(VocabBanksTranslation vocabBanksTranslation) { base.AddObject("VocabBanksTranslations", vocabBanksTranslation); }
/// <summary> /// Create a new VocabBanksTranslation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="vocabularyId">Initial value of the VocabularyId property.</param> /// <param name="translationId">Initial value of the TranslationId property.</param> public static VocabBanksTranslation CreateVocabBanksTranslation(global::System.Int32 id, global::System.Int32 vocabularyId, global::System.Int32 translationId) { VocabBanksTranslation vocabBanksTranslation = new VocabBanksTranslation(); vocabBanksTranslation.Id = id; vocabBanksTranslation.VocabularyId = vocabularyId; vocabBanksTranslation.TranslationId = translationId; return vocabBanksTranslation; }