/// <summary> /// Create a new EnfermedadesDiagnostico object. /// </summary> /// <param name="idEnfermedad">Initial value of the idEnfermedad property.</param> /// <param name="idPaciente">Initial value of the idPaciente property.</param> /// <param name="idMedico">Initial value of the idMedico property.</param> /// <param name="fecha">Initial value of the Fecha property.</param> public static EnfermedadesDiagnostico CreateEnfermedadesDiagnostico(global::System.Guid idEnfermedad, global::System.Guid idPaciente, global::System.Int64 idMedico, global::System.DateTime fecha) { EnfermedadesDiagnostico enfermedadesDiagnostico = new EnfermedadesDiagnostico(); enfermedadesDiagnostico.idEnfermedad = idEnfermedad; enfermedadesDiagnostico.idPaciente = idPaciente; enfermedadesDiagnostico.idMedico = idMedico; enfermedadesDiagnostico.Fecha = fecha; return enfermedadesDiagnostico; }
/// <summary> /// Deprecated Method for adding a new object to the EnfermedadesDiagnostico EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEnfermedadesDiagnostico(EnfermedadesDiagnostico enfermedadesDiagnostico) { base.AddObject("EnfermedadesDiagnostico", enfermedadesDiagnostico); }