/// <summary> /// Create a new PatientView object. /// </summary> /// <param name="patientId">Initial value of the PatientId property.</param> /// <param name="idPersona">Initial value of the IdPersona property.</param> /// <param name="fechaAlta">Initial value of the FechaAlta property.</param> /// <param name="tipoDocumento">Initial value of the TipoDocumento property.</param> /// <param name="nroDocumento">Initial value of the NroDocumento property.</param> /// <param name="apellido">Initial value of the Apellido property.</param> /// <param name="nombre">Initial value of the Nombre property.</param> /// <param name="sexo">Initial value of the Sexo property.</param> /// <param name="estadoCivil">Initial value of the EstadoCivil property.</param> /// <param name="fechaNacimiento">Initial value of the FechaNacimiento property.</param> public static PatientView CreatePatientView(global::System.Int32 patientId, global::System.Int32 idPersona, global::System.DateTime fechaAlta, global::System.String tipoDocumento, global::System.String nroDocumento, global::System.String apellido, global::System.String nombre, global::System.Int16 sexo, global::System.String estadoCivil, global::System.DateTime fechaNacimiento) { PatientView patientView = new PatientView(); patientView.PatientId = patientId; patientView.IdPersona = idPersona; patientView.FechaAlta = fechaAlta; patientView.TipoDocumento = tipoDocumento; patientView.NroDocumento = nroDocumento; patientView.Apellido = apellido; patientView.Nombre = nombre; patientView.Sexo = sexo; patientView.EstadoCivil = estadoCivil; patientView.FechaNacimiento = fechaNacimiento; return patientView; }
/// <summary> /// Deprecated Method for adding a new object to the PatientViews EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToPatientViews(PatientView patientView) { base.AddObject("PatientViews", patientView); }