Beispiel #1
0
        /// <summary>
        /// Create a new Logradouro object.
        /// </summary>
        /// <param name="iD">Initial value of ID.</param>
        /// <param name="endereco">Initial value of Endereco.</param>
        /// <param name="bairro">Initial value of Bairro.</param>
        /// <param name="cEP">Initial value of CEP.</param>
        public static Logradouro CreateLogradouro(int iD, string endereco, string bairro, string cEP)
        {
            Logradouro logradouro = new Logradouro();

            logradouro.ID       = iD;
            logradouro.Endereco = endereco;
            logradouro.Bairro   = bairro;
            logradouro.CEP      = cEP;
            return(logradouro);
        }
Beispiel #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Logradouros EntitySet.
 /// </summary>
 public void AddToLogradouros(Logradouro logradouro)
 {
     base.AddObject("Logradouros", logradouro);
 }