public recommendationDto(String v_RecommendationId, String v_ServiceId, String v_DiagnosticRepositoryId, String v_ComponentId, String v_MasterRecommendationId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, diagnosticrepositoryDto diagnosticrepository) { this.v_RecommendationId = v_RecommendationId; this.v_ServiceId = v_ServiceId; this.v_DiagnosticRepositoryId = v_DiagnosticRepositoryId; this.v_ComponentId = v_ComponentId; this.v_MasterRecommendationId = v_MasterRecommendationId; this.i_IsDeleted = i_IsDeleted; this.i_InsertUserId = i_InsertUserId; this.d_InsertDate = d_InsertDate; this.i_UpdateUserId = i_UpdateUserId; this.d_UpdateDate = d_UpdateDate; this.diagnosticrepository = diagnosticrepository; }
public restrictionDto(String v_RestrictionId, String v_DiagnosticRepositoryId, String v_ServiceId, String v_ComponentId, String v_MasterRestrictionId, Nullable <DateTime> d_StartDateRestriction, Nullable <DateTime> d_EndDateRestriction, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_UpdateUserId, serviceDto service, componentDto component, diagnosticrepositoryDto diagnosticrepository) { this.v_RestrictionId = v_RestrictionId; this.v_DiagnosticRepositoryId = v_DiagnosticRepositoryId; this.v_ServiceId = v_ServiceId; this.v_ComponentId = v_ComponentId; this.v_MasterRestrictionId = v_MasterRestrictionId; this.d_StartDateRestriction = d_StartDateRestriction; this.d_EndDateRestriction = d_EndDateRestriction; this.i_IsDeleted = i_IsDeleted; this.i_InsertUserId = i_InsertUserId; this.d_InsertDate = d_InsertDate; this.d_UpdateDate = d_UpdateDate; this.i_UpdateUserId = i_UpdateUserId; this.service = service; this.component = component; this.diagnosticrepository = diagnosticrepository; }
/// <summary> /// Converts this instance of <see cref="diagnosticrepository"/> to an instance of <see cref="diagnosticrepositoryDto"/>. /// </summary> /// <param name="entity"><see cref="diagnosticrepository"/> to convert.</param> public static diagnosticrepositoryDto ToDTO(this diagnosticrepository entity) { if (entity == null) { return(null); } var dto = new diagnosticrepositoryDto(); dto.v_DiagnosticRepositoryId = entity.v_DiagnosticRepositoryId; dto.v_ServiceId = entity.v_ServiceId; dto.v_DiseasesId = entity.v_DiseasesId; dto.v_ComponentId = entity.v_ComponentId; dto.v_ComponentFieldId = entity.v_ComponentFieldId; dto.i_AutoManualId = entity.i_AutoManualId; dto.i_PreQualificationId = entity.i_PreQualificationId; dto.i_FinalQualificationId = entity.i_FinalQualificationId; dto.i_DiagnosticTypeId = entity.i_DiagnosticTypeId; dto.i_IsSentToAntecedent = entity.i_IsSentToAntecedent; dto.d_ExpirationDateDiagnostic = entity.d_ExpirationDateDiagnostic; dto.i_GenerateMedicalBreak = entity.i_GenerateMedicalBreak; dto.v_Recomendations = entity.v_Recomendations; dto.i_DiagnosticSourceId = entity.i_DiagnosticSourceId; dto.i_ShapeAccidentId = entity.i_ShapeAccidentId; dto.i_BodyPartId = entity.i_BodyPartId; dto.i_ClassificationOfWorkAccidentId = entity.i_ClassificationOfWorkAccidentId; dto.i_RiskFactorId = entity.i_RiskFactorId; dto.i_ClassificationOfWorkdiseaseId = entity.i_ClassificationOfWorkdiseaseId; dto.i_SendToInterconsultationId = entity.i_SendToInterconsultationId; dto.i_InterconsultationDestinationId = entity.i_InterconsultationDestinationId; dto.i_IsDeleted = entity.i_IsDeleted; dto.i_InsertUserId = entity.i_InsertUserId; dto.d_InsertDate = entity.d_InsertDate; dto.i_UpdateUserId = entity.i_UpdateUserId; dto.d_UpdateDate = entity.d_UpdateDate; dto.v_InterconsultationDestinationId = entity.v_InterconsultationDestinationId; dto.v_ComentaryUpdate = entity.v_ComentaryUpdate; entity.OnDTO(dto); return(dto); }
/// <summary> /// Invoked when <see cref="ToEntity"/> operation is about to return. /// </summary> /// <param name="entity"><see cref="diagnosticrepository"/> converted from <see cref="diagnosticrepositoryDto"/>.</param> static partial void OnEntity(this diagnosticrepositoryDto dto, diagnosticrepository entity);
/// <summary> /// Invoked when <see cref="ToDTO"/> operation is about to return. /// </summary> /// <param name="dto"><see cref="diagnosticrepositoryDto"/> converted from <see cref="diagnosticrepository"/>.</param> static partial void OnDTO(this diagnosticrepository entity, diagnosticrepositoryDto dto);