예제 #1
0
        /// <summary>
        /// Create a new tb_animal object.
        /// </summary>
        /// <param name="iDAnimal">Initial value of the IDAnimal property.</param>
        /// <param name="nome">Initial value of the Nome property.</param>
        /// <param name="categoria">Initial value of the Categoria property.</param>
        /// <param name="sexo">Initial value of the Sexo property.</param>
        /// <param name="iDUsuario">Initial value of the IDUsuario property.</param>
        /// <param name="iDRaca">Initial value of the IDRaca property.</param>
        /// <param name="latitude">Initial value of the Latitude property.</param>
        /// <param name="longitude">Initial value of the Longitude property.</param>
        public static tb_animal Createtb_animal(global::System.Int32 iDAnimal, global::System.String nome, global::System.String categoria, global::System.String sexo, global::System.Int32 iDUsuario, global::System.Int32 iDRaca, global::System.Single latitude, global::System.Single longitude)
        {
            tb_animal tb_animal = new tb_animal();

            tb_animal.IDAnimal  = iDAnimal;
            tb_animal.Nome      = nome;
            tb_animal.Categoria = categoria;
            tb_animal.Sexo      = sexo;
            tb_animal.IDUsuario = iDUsuario;
            tb_animal.IDRaca    = iDRaca;
            tb_animal.Latitude  = latitude;
            tb_animal.Longitude = longitude;
            return(tb_animal);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tb_animal EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotb_animal(tb_animal tb_animal)
 {
     base.AddObject("tb_animal", tb_animal);
 }