/// <summary> /// Create a new encaminhamento object. /// </summary> /// <param name="idEncaminhamento">Initial value of the idEncaminhamento property.</param> /// <param name="idPaciente">Initial value of the idPaciente property.</param> /// <param name="idHospital">Initial value of the idHospital property.</param> /// <param name="strMotivo">Initial value of the strMotivo property.</param> /// <param name="strSituacaoAtual">Initial value of the strSituacaoAtual property.</param> /// <param name="dtmDataEncaminhamento">Initial value of the dtmDataEncaminhamento property.</param> public static encaminhamento Createencaminhamento(global::System.Int32 idEncaminhamento, global::System.Int32 idPaciente, global::System.Int32 idHospital, global::System.String strMotivo, global::System.String strSituacaoAtual, global::System.DateTime dtmDataEncaminhamento) { encaminhamento encaminhamento = new encaminhamento(); encaminhamento.idEncaminhamento = idEncaminhamento; encaminhamento.idPaciente = idPaciente; encaminhamento.idHospital = idHospital; encaminhamento.strMotivo = strMotivo; encaminhamento.strSituacaoAtual = strSituacaoAtual; encaminhamento.dtmDataEncaminhamento = dtmDataEncaminhamento; return(encaminhamento); }
/// <summary> /// Deprecated Method for adding a new object to the encaminhamentoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToencaminhamentoes(encaminhamento encaminhamento) { base.AddObject("encaminhamentoes", encaminhamento); }
/// <summary> /// Create a new encaminhamento object. /// </summary> /// <param name="idEncaminhamento">Initial value of the idEncaminhamento property.</param> /// <param name="idPaciente">Initial value of the idPaciente property.</param> /// <param name="idHospital">Initial value of the idHospital property.</param> /// <param name="strMotivo">Initial value of the strMotivo property.</param> /// <param name="strSituacaoAtual">Initial value of the strSituacaoAtual property.</param> /// <param name="dtmDataEncaminhamento">Initial value of the dtmDataEncaminhamento property.</param> public static encaminhamento Createencaminhamento(global::System.Int32 idEncaminhamento, global::System.Int32 idPaciente, global::System.Int32 idHospital, global::System.String strMotivo, global::System.String strSituacaoAtual, global::System.DateTime dtmDataEncaminhamento) { encaminhamento encaminhamento = new encaminhamento(); encaminhamento.idEncaminhamento = idEncaminhamento; encaminhamento.idPaciente = idPaciente; encaminhamento.idHospital = idHospital; encaminhamento.strMotivo = strMotivo; encaminhamento.strSituacaoAtual = strSituacaoAtual; encaminhamento.dtmDataEncaminhamento = dtmDataEncaminhamento; return encaminhamento; }