/// <summary> /// Deprecated Method for adding a new object to the ExitPollAlertas EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToExitPollAlertas(ExitPollAlerta exitPollAlerta) { base.AddObject("ExitPollAlertas", exitPollAlerta); }
public Alerta(ExitPollAlerta a) { Modulo = Modulo.Totalizacion; InicializarAlerta(a.ExitPollAlertaMessages, a); }
/// <summary> /// Create a new ExitPollAlerta object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="id_usuario">Initial value of the id_usuario property.</param> /// <param name="id_testigoExitPoll">Initial value of the id_testigoExitPoll property.</param> /// <param name="id_centro">Initial value of the id_centro property.</param> /// <param name="id_alerta">Initial value of the id_alerta property.</param> /// <param name="activa">Initial value of the activa property.</param> /// <param name="fecha">Initial value of the fecha property.</param> public static ExitPollAlerta CreateExitPollAlerta(global::System.Int32 id, global::System.Int32 id_usuario, global::System.Int32 id_testigoExitPoll, global::System.Int32 id_centro, global::System.Int32 id_alerta, global::System.Boolean activa, global::System.DateTime fecha) { ExitPollAlerta exitPollAlerta = new ExitPollAlerta(); exitPollAlerta.id = id; exitPollAlerta.id_usuario = id_usuario; exitPollAlerta.id_testigoExitPoll = id_testigoExitPoll; exitPollAlerta.id_centro = id_centro; exitPollAlerta.id_alerta = id_alerta; exitPollAlerta.activa = activa; exitPollAlerta.fecha = fecha; return exitPollAlerta; }