/// <summary> /// Converts this instance of <see cref="component"/> to an instance of <see cref="componentDto"/>. /// </summary> /// <param name="entity"><see cref="component"/> to convert.</param> public static componentDto ToDTO(this component entity) { if (entity == null) { return(null); } var dto = new componentDto(); dto.v_ComponentId = entity.v_ComponentId; dto.v_Name = entity.v_Name; dto.i_CategoryId = entity.i_CategoryId; dto.r_BasePrice = entity.r_BasePrice; dto.i_DiagnosableId = entity.i_DiagnosableId; dto.i_IsApprovedId = entity.i_IsApprovedId; dto.i_ComponentTypeId = entity.i_ComponentTypeId; dto.i_UIIsVisibleId = entity.i_UIIsVisibleId; dto.i_UIIndex = entity.i_UIIndex; dto.i_ValidInDays = entity.i_ValidInDays; 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; entity.OnDTO(dto); return(dto); }
/// <summary> /// Converts this instance of <see cref="componentDto"/> to an instance of <see cref="component"/>. /// </summary> /// <param name="dto"><see cref="componentDto"/> to convert.</param> public static component ToEntity(this componentDto dto) { if (dto == null) { return(null); } var entity = new component(); entity.v_ComponentId = dto.v_ComponentId; entity.v_Name = dto.v_Name; entity.i_CategoryId = dto.i_CategoryId; entity.r_BasePrice = dto.r_BasePrice; entity.i_DiagnosableId = dto.i_DiagnosableId; entity.i_IsApprovedId = dto.i_IsApprovedId; entity.i_ComponentTypeId = dto.i_ComponentTypeId; entity.i_UIIsVisibleId = dto.i_UIIsVisibleId; entity.i_UIIndex = dto.i_UIIndex; entity.i_ValidInDays = dto.i_ValidInDays; entity.i_IsDeleted = dto.i_IsDeleted; entity.i_InsertUserId = dto.i_InsertUserId; entity.d_InsertDate = dto.d_InsertDate; entity.i_UpdateUserId = dto.i_UpdateUserId; entity.d_UpdateDate = dto.d_UpdateDate; dto.OnEntity(entity); return(entity); }
public attentioninareacomponentDto(String v_AttentioninAreaComponentId, String v_AttentionInAreaId, String v_ComponentId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, attentioninareaDto attentioninarea, componentDto component) { this.v_AttentioninAreaComponentId = v_AttentioninAreaComponentId; this.v_AttentionInAreaId = v_AttentionInAreaId; this.v_ComponentId = v_ComponentId; 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.attentioninarea = attentioninarea; this.component = component; }
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, componentDto component, diagnosticrepositoryDto diagnosticrepository, serviceDto service) { 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.component = component; this.diagnosticrepository = diagnosticrepository; this.service = service; }
public auxiliaryexamDto(String v_AuxiliaryExamId, String v_ServiceId, String v_ComponentId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, componentDto component, serviceDto service) { this.v_AuxiliaryExamId = v_AuxiliaryExamId; this.v_ServiceId = v_ServiceId; this.v_ComponentId = v_ComponentId; 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.component = component; this.service = service; }
public servicecomponentDto(String v_ServiceComponentId, String v_ServiceId, String v_ComponentId, Nullable <Int32> i_ServiceComponentStatusId, Nullable <Int32> i_ExternalInternalId, Nullable <Int32> i_ServiceComponentTypeId, Nullable <Int32> i_IsVisibleId, Nullable <Int32> i_IsInheritedId, Nullable <DateTime> d_CalledDate, Nullable <DateTime> d_StartDate, Nullable <DateTime> d_EndDate, Nullable <Int32> i_index, Nullable <Single> r_Price, Nullable <Int32> i_IsInvoicedId, Nullable <Int32> i_IsRequiredId, Nullable <Int32> i_IsManuallyAddedId, Nullable <Int32> i_QueueStatusId, String v_NameOfice, String v_Comment, Nullable <Int32> i_Iscalling, Nullable <Int32> i_IsApprovedId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_ApprovedInsertUserId, Nullable <Int32> i_ApprovedUpdateUserId, Nullable <DateTime> d_ApprovedInsertDate, Nullable <DateTime> d_ApprovedUpdateDate, Nullable <Int32> i_InsertUserMedicalAnalystId, Nullable <Int32> i_UpdateUserMedicalAnalystId, Nullable <DateTime> d_InsertDateMedicalAnalyst, Nullable <DateTime> d_UpdateDateMedicalAnalyst, Nullable <Int32> i_InsertUserTechnicalDataRegisterId, Nullable <Int32> i_UpdateUserTechnicalDataRegisterId, Nullable <DateTime> d_InsertDateTechnicalDataRegister, Nullable <DateTime> d_UpdateDateTechnicalDataRegister, Nullable <Int32> i_Iscalling_1, Nullable <Int32> i_AuditorInsertUserId, Nullable <DateTime> d_AuditorInsertUser, Nullable <Int32> i_AuditorUpdateUserId, Nullable <DateTime> d_AuditorUpdateUser, String v_IdUnidadProductiva, Nullable <Decimal> d_SaldoPaciente, Nullable <Decimal> d_SaldoAseguradora, Nullable <Int32> i_MedicoTratanteId, Nullable <Int32> i_SystemUserEspecialistaId, Nullable <Int32> i_ConCargoA, componentDto component, serviceDto service, List <servicecomponentfieldsDto> servicecomponentfields, List <servicecomponentmultimediaDto> servicecomponentmultimedia) { this.v_ServiceComponentId = v_ServiceComponentId; this.v_ServiceId = v_ServiceId; this.v_ComponentId = v_ComponentId; this.i_ServiceComponentStatusId = i_ServiceComponentStatusId; this.i_ExternalInternalId = i_ExternalInternalId; this.i_ServiceComponentTypeId = i_ServiceComponentTypeId; this.i_IsVisibleId = i_IsVisibleId; this.i_IsInheritedId = i_IsInheritedId; this.d_CalledDate = d_CalledDate; this.d_StartDate = d_StartDate; this.d_EndDate = d_EndDate; this.i_index = i_index; this.r_Price = r_Price; this.i_IsInvoicedId = i_IsInvoicedId; this.i_IsRequiredId = i_IsRequiredId; this.i_IsManuallyAddedId = i_IsManuallyAddedId; this.i_QueueStatusId = i_QueueStatusId; this.v_NameOfice = v_NameOfice; this.v_Comment = v_Comment; this.i_Iscalling = i_Iscalling; this.i_IsApprovedId = i_IsApprovedId; 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.i_ApprovedInsertUserId = i_ApprovedInsertUserId; this.i_ApprovedUpdateUserId = i_ApprovedUpdateUserId; this.d_ApprovedInsertDate = d_ApprovedInsertDate; this.d_ApprovedUpdateDate = d_ApprovedUpdateDate; this.i_InsertUserMedicalAnalystId = i_InsertUserMedicalAnalystId; this.i_UpdateUserMedicalAnalystId = i_UpdateUserMedicalAnalystId; this.d_InsertDateMedicalAnalyst = d_InsertDateMedicalAnalyst; this.d_UpdateDateMedicalAnalyst = d_UpdateDateMedicalAnalyst; this.i_InsertUserTechnicalDataRegisterId = i_InsertUserTechnicalDataRegisterId; this.i_UpdateUserTechnicalDataRegisterId = i_UpdateUserTechnicalDataRegisterId; this.d_InsertDateTechnicalDataRegister = d_InsertDateTechnicalDataRegister; this.d_UpdateDateTechnicalDataRegister = d_UpdateDateTechnicalDataRegister; this.i_Iscalling_1 = i_Iscalling_1; this.i_AuditorInsertUserId = i_AuditorInsertUserId; this.d_AuditorInsertUser = d_AuditorInsertUser; this.i_AuditorUpdateUserId = i_AuditorUpdateUserId; this.d_AuditorUpdateUser = d_AuditorUpdateUser; this.v_IdUnidadProductiva = v_IdUnidadProductiva; this.d_SaldoPaciente = d_SaldoPaciente; this.d_SaldoAseguradora = d_SaldoAseguradora; this.i_MedicoTratanteId = i_MedicoTratanteId; this.i_SystemUserEspecialistaId = i_SystemUserEspecialistaId; this.i_ConCargoA = i_ConCargoA; this.component = component; this.service = service; this.servicecomponentfields = servicecomponentfields; this.servicecomponentmultimedia = servicecomponentmultimedia; }
public protocolcomponentDto(String v_ProtocolComponentId, String v_ProtocolId, String v_ComponentId, Nullable <Single> r_Price, Nullable <Int32> i_OperatorId, Nullable <Int32> i_Age, Nullable <Int32> i_GenderId, Nullable <Int32> i_IsConditionalId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_IsConditionalIMC, Nullable <Decimal> r_Imc, Nullable <Int32> i_IsAdditional, componentDto component, protocolDto protocol) { this.v_ProtocolComponentId = v_ProtocolComponentId; this.v_ProtocolId = v_ProtocolId; this.v_ComponentId = v_ComponentId; this.r_Price = r_Price; this.i_OperatorId = i_OperatorId; this.i_Age = i_Age; this.i_GenderId = i_GenderId; this.i_IsConditionalId = i_IsConditionalId; 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.i_IsConditionalIMC = i_IsConditionalIMC; this.r_Imc = r_Imc; this.i_IsAdditional = i_IsAdditional; this.component = component; this.protocol = protocol; }
public componentfieldsDto(String v_ComponentId, String v_ComponentFieldId, String v_Group, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, componentDto component, componentfieldDto componentfield, List <diagnosticrepositoryDto> diagnosticrepository, List <servicecomponentfieldsDto> servicecomponentfields) { this.v_ComponentId = v_ComponentId; this.v_ComponentFieldId = v_ComponentFieldId; this.v_Group = v_Group; 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.component = component; this.componentfield = componentfield; this.diagnosticrepository = diagnosticrepository; this.servicecomponentfields = servicecomponentfields; }
public servicecomponentDto(String v_ServiceComponentId, String v_ServiceId, String v_ComponentId, Nullable <Int32> i_ServiceComponentStatusId, Nullable <Int32> i_ExternalInternalId, Nullable <Int32> i_ServiceComponentTypeId, Nullable <Int32> i_IsVisibleId, Nullable <Int32> i_IsInheritedId, Nullable <DateTime> d_CalledDate, Nullable <DateTime> d_StartDate, Nullable <DateTime> d_EndDate, Nullable <Int32> i_index, Nullable <Single> r_Price, Nullable <Int32> i_IsInvoicedId, Nullable <Int32> i_IsRequiredId, Nullable <Int32> i_IsManuallyAddedId, Nullable <Int32> i_QueueStatusId, String v_NameOfice, String v_Comment, Nullable <Int32> i_Iscalling, Nullable <Int32> i_IsApprovedId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_ApprovedInsertUserId, Nullable <Int32> i_ApprovedUpdateUserId, Nullable <DateTime> d_ApprovedInsertDate, Nullable <DateTime> d_ApprovedUpdateDate, Nullable <Int32> i_InsertUserMedicalAnalystId, Nullable <Int32> i_UpdateUserMedicalAnalystId, Nullable <DateTime> d_InsertDateMedicalAnalyst, Nullable <DateTime> d_UpdateDateMedicalAnalyst, Nullable <Int32> i_InsertUserTechnicalDataRegisterId, Nullable <Int32> i_UpdateUserTechnicalDataRegisterId, Nullable <DateTime> d_InsertDateTechnicalDataRegister, Nullable <DateTime> d_UpdateDateTechnicalDataRegister, componentDto component, serviceDto service, List <servicecomponentfieldsDto> servicecomponentfields, List <servicecomponentmultimediaDto> servicecomponentmultimedia) { this.v_ServiceComponentId = v_ServiceComponentId; this.v_ServiceId = v_ServiceId; this.v_ComponentId = v_ComponentId; this.i_ServiceComponentStatusId = i_ServiceComponentStatusId; this.i_ExternalInternalId = i_ExternalInternalId; this.i_ServiceComponentTypeId = i_ServiceComponentTypeId; this.i_IsVisibleId = i_IsVisibleId; this.i_IsInheritedId = i_IsInheritedId; this.d_CalledDate = d_CalledDate; this.d_StartDate = d_StartDate; this.d_EndDate = d_EndDate; this.i_index = i_index; this.r_Price = r_Price; this.i_IsInvoicedId = i_IsInvoicedId; this.i_IsRequiredId = i_IsRequiredId; this.i_IsManuallyAddedId = i_IsManuallyAddedId; this.i_QueueStatusId = i_QueueStatusId; this.v_NameOfice = v_NameOfice; this.v_Comment = v_Comment; this.i_Iscalling = i_Iscalling; this.i_IsApprovedId = i_IsApprovedId; 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.i_ApprovedInsertUserId = i_ApprovedInsertUserId; this.i_ApprovedUpdateUserId = i_ApprovedUpdateUserId; this.d_ApprovedInsertDate = d_ApprovedInsertDate; this.d_ApprovedUpdateDate = d_ApprovedUpdateDate; this.i_InsertUserMedicalAnalystId = i_InsertUserMedicalAnalystId; this.i_UpdateUserMedicalAnalystId = i_UpdateUserMedicalAnalystId; this.d_InsertDateMedicalAnalyst = d_InsertDateMedicalAnalyst; this.d_UpdateDateMedicalAnalyst = d_UpdateDateMedicalAnalyst; this.i_InsertUserTechnicalDataRegisterId = i_InsertUserTechnicalDataRegisterId; this.i_UpdateUserTechnicalDataRegisterId = i_UpdateUserTechnicalDataRegisterId; this.d_InsertDateTechnicalDataRegister = d_InsertDateTechnicalDataRegister; this.d_UpdateDateTechnicalDataRegister = d_UpdateDateTechnicalDataRegister; this.component = component; this.service = service; this.servicecomponentfields = servicecomponentfields; this.servicecomponentmultimedia = servicecomponentmultimedia; }
/// <summary> /// Invoked when <see cref="ToEntity"/> operation is about to return. /// </summary> /// <param name="entity"><see cref="component"/> converted from <see cref="componentDto"/>.</param> static partial void OnEntity(this componentDto dto, component entity);
/// <summary> /// Invoked when <see cref="ToDTO"/> operation is about to return. /// </summary> /// <param name="dto"><see cref="componentDto"/> converted from <see cref="component"/>.</param> static partial void OnDTO(this component entity, componentDto dto);
public rolenodecomponentprofileDto(String v_RoleNodeComponentId, Nullable <Int32> i_NodeId, Nullable <Int32> i_RoleId, String v_ComponentId, Nullable <Int32> i_Read, Nullable <Int32> i_Write, Nullable <Int32> i_Dx, Nullable <Int32> i_Approved, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, componentDto component, rolenodeDto rolenode) { this.v_RoleNodeComponentId = v_RoleNodeComponentId; this.i_NodeId = i_NodeId; this.i_RoleId = i_RoleId; this.v_ComponentId = v_ComponentId; this.i_Read = i_Read; this.i_Write = i_Write; this.i_Dx = i_Dx; this.i_Approved = i_Approved; 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.component = component; this.rolenode = rolenode; }