/// <summary> /// Create a new Cidade object. /// </summary> /// <param name="cidadeId">Initial value of the CidadeId property.</param> /// <param name="estadoId">Initial value of the EstadoId property.</param> /// <param name="nome">Initial value of the Nome property.</param> /// <param name="dataCriacao">Initial value of the DataCriacao property.</param> public static Cidade CreateCidade(global::System.Int32 cidadeId, global::System.Int32 estadoId, global::System.String nome, global::System.DateTime dataCriacao) { Cidade cidade = new Cidade(); cidade.CidadeId = cidadeId; cidade.EstadoId = estadoId; cidade.Nome = nome; cidade.DataCriacao = dataCriacao; return cidade; }
/// <summary> /// Deprecated Method for adding a new object to the Cidade EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCidade(Cidade cidade) { base.AddObject("Cidade", cidade); }