Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the evento EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToevento(evento evento)
 {
     base.AddObject("evento", evento);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new evento 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="fecha_inicio">Initial value of the fecha_inicio property.</param>
 /// <param name="fecha_fin">Initial value of the fecha_fin property.</param>
 /// <param name="lugar">Initial value of the lugar property.</param>
 /// <param name="dirigido">Initial value of the dirigido property.</param>
 /// <param name="foto">Initial value of the foto property.</param>
 /// <param name="publicado">Initial value of the publicado property.</param>
 public static evento Createevento(global::System.Int32 id, global::System.String nombre, global::System.String descripcion, global::System.DateTime fecha_inicio, global::System.DateTime fecha_fin, global::System.String lugar, global::System.String dirigido, global::System.Byte[] foto, global::System.Int32 publicado)
 {
     evento evento = new evento();
     evento.id = id;
     evento.nombre = nombre;
     evento.descripcion = descripcion;
     evento.fecha_inicio = fecha_inicio;
     evento.fecha_fin = fecha_fin;
     evento.lugar = lugar;
     evento.dirigido = dirigido;
     evento.foto = foto;
     evento.publicado = publicado;
     return evento;
 }