/// <summary> /// Deprecated Method for adding a new object to the Languages EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToLanguages(Languages languages) { base.AddObject("Languages", languages); }
/// <summary> /// Create a new Languages object. /// </summary> /// <param name="languageID">Initial value of the LanguageID property.</param> /// <param name="languageName">Initial value of the LanguageName property.</param> public static Languages CreateLanguages(global::System.Int32 languageID, global::System.String languageName) { Languages languages = new Languages(); languages.LanguageID = languageID; languages.LanguageName = languageName; return languages; }