public Enlace(TestigoExitPoll testigo) { Id = testigo.id; Nombre = testigo.nombre; Telefono = testigo.numero; Activo = testigo.activo; }
public EnlaceExitPoll(TestigoExitPoll testigo) : base(testigo) { IdCentro = testigo.id_centro; }
/// <summary> /// Create a new TestigoExitPoll object. /// </summary> /// <param name="id">Initial value of the id property.</param> /// <param name="numero">Initial value of the numero property.</param> /// <param name="nombre">Initial value of the nombre property.</param> /// <param name="activo">Initial value of the activo property.</param> public static TestigoExitPoll CreateTestigoExitPoll(global::System.Int32 id, global::System.String numero, global::System.String nombre, global::System.Boolean activo) { TestigoExitPoll testigoExitPoll = new TestigoExitPoll(); testigoExitPoll.id = id; testigoExitPoll.numero = numero; testigoExitPoll.nombre = nombre; testigoExitPoll.activo = activo; return testigoExitPoll; }
/// <summary> /// Deprecated Method for adding a new object to the TestigoExitPolls EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTestigoExitPolls(TestigoExitPoll testigoExitPoll) { base.AddObject("TestigoExitPolls", testigoExitPoll); }