/// <summary> /// Create a new Tema object. /// </summary> /// <param name="idTema">Initial value of the IdTema property.</param> /// <param name="descricao">Initial value of the descricao property.</param> public static Tema CreateTema(global::System.Int32 idTema, global::System.String descricao) { Tema tema = new Tema(); tema.IdTema = idTema; tema.descricao = descricao; return tema; }
/// <summary> /// Deprecated Method for adding a new object to the Temas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTemas(Tema tema) { base.AddObject("Temas", tema); }