/// <summary> /// Deprecated Method for adding a new object to the Idiomas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToIdiomas(Idioma idioma) { base.AddObject("Idiomas", idioma); }
/// <summary> /// Create a new Idioma object. /// </summary> /// <param name="descricao">Initial value of the Descricao property.</param> /// <param name="id">Initial value of the Id property.</param> public static Idioma CreateIdioma(global::System.String descricao, global::System.Int64 id) { Idioma idioma = new Idioma(); idioma.Descricao = descricao; idioma.Id = id; return idioma; }