/// <summary> /// Deprecated Method for adding a new object to the Grupo EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGrupo(Grupo grupo) { base.AddObject("Grupo", grupo); }
/// <summary> /// Create a new Grupo object. /// </summary> /// <param name="idGrupo">Initial value of the IdGrupo property.</param> /// <param name="nome">Initial value of the Nome property.</param> /// <param name="descricao">Initial value of the Descricao property.</param> public static Grupo CreateGrupo(global::System.Int32 idGrupo, global::System.String nome, global::System.String descricao) { Grupo grupo = new Grupo(); grupo.IdGrupo = idGrupo; grupo.Nome = nome; grupo.Descricao = descricao; return grupo; }