/// <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="name">Initial value of the Name property.</param> /// <param name="code">Initial value of the Code property.</param> public static Languages CreateLanguages(global::System.Int32 languageId, global::System.String name, global::System.String code) { Languages languages = new Languages(); languages.LanguageId = languageId; languages.Name = name; languages.Code = code; return languages; }