/// <summary> /// Create a new annales object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="nombre">Initial value of the nombre property.</param> /// <param name="descripcion">Initial value of the descripcion property.</param> /// <param name="autor">Initial value of the autor property.</param> /// <param name="fecha">Initial value of the fecha property.</param> /// <param name="foto">Initial value of the foto property.</param> /// <param name="documento">Initial value of the documento property.</param> /// <param name="publicado">Initial value of the publicado property.</param> public static annales Createannales(global::System.Int32 id, global::System.String nombre, global::System.String descripcion, global::System.String autor, global::System.DateTime fecha, global::System.Byte[] foto, global::System.Byte[] documento, global::System.Int32 publicado) { annales annales = new annales(); annales.id = id; annales.nombre = nombre; annales.descripcion = descripcion; annales.autor = autor; annales.fecha = fecha; annales.foto = foto; annales.documento = documento; annales.publicado = publicado; return annales; }
/// <summary> /// Deprecated Method for adding a new object to the annales EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToannales(annales annales) { base.AddObject("annales", annales); }