/// <summary> /// Create a new Musica object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="cantor">Initial value of the Cantor property.</param> /// <param name="nomeMusica">Initial value of the NomeMusica property.</param> /// <param name="letra">Initial value of the Letra property.</param> public static Musica CreateMusica(global::System.Int32 id, global::System.String cantor, global::System.String nomeMusica, global::System.String letra) { Musica musica = new Musica(); musica.Id = id; musica.Cantor = cantor; musica.NomeMusica = nomeMusica; musica.Letra = letra; return musica; }
/// <summary> /// Deprecated Method for adding a new object to the Musicas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToMusicas(Musica musica) { base.AddObject("Musicas", musica); }