/// <summary> /// Create a new Atendimento object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="pacienteId">Initial value of the PacienteId property.</param> /// <param name="horario">Initial value of the Horario property.</param> public static Atendimento CreateAtendimento(global::System.Int32 id, global::System.Int32 pacienteId, global::System.DateTime horario) { Atendimento atendimento = new Atendimento(); atendimento.Id = id; atendimento.PacienteId = pacienteId; atendimento.Horario = horario; return atendimento; }
private bool FilterAtendimento(Atendimento entity) { return (entity.Id == this.AtendimentoId); }
/// <summary> /// Deprecated Method for adding a new object to the Atendimento EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToAtendimento(Atendimento atendimento) { base.AddObject("Atendimento", atendimento); }
private bool FilterAtendimento(Atendimento entity) { return (entity.PacienteId == this.Id); }
private void DetachAtendimento(Atendimento entity) { entity.Paciente = null; }
private void AttachAtendimento(Atendimento entity) { entity.Paciente = this; }
private void DetachAtendimento(Atendimento entity) { entity.Medico = null; }
private void AttachAtendimento(Atendimento entity) { entity.Medico = this; }