예제 #1
0
        /// <summary>
        /// Create a new tb_fotos object.
        /// </summary>
        /// <param name="iDFoto">Initial value of the IDFoto property.</param>
        /// <param name="foto">Initial value of the Foto property.</param>
        /// <param name="iDAnimal">Initial value of the IDAnimal property.</param>
        public static tb_fotos Createtb_fotos(global::System.Int32 iDFoto, global::System.Byte[] foto, global::System.Int32 iDAnimal)
        {
            tb_fotos tb_fotos = new tb_fotos();

            tb_fotos.IDFoto   = iDFoto;
            tb_fotos.Foto     = foto;
            tb_fotos.IDAnimal = iDAnimal;
            return(tb_fotos);
        }
예제 #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tb_fotos EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotb_fotos(tb_fotos tb_fotos)
 {
     base.AddObject("tb_fotos", tb_fotos);
 }