/// <summary> /// Converts this instance of <see cref="cie10"/> to an instance of <see cref="cie10Dto"/>. /// </summary> /// <param name="entity"><see cref="cie10"/> to convert.</param> public static cie10Dto ToDTO(this cie10 entity) { if (entity == null) { return(null); } var dto = new cie10Dto(); dto.v_CIE10Id = entity.v_CIE10Id; dto.v_CIE10Description1 = entity.v_CIE10Description1; dto.v_CIE10Description2 = entity.v_CIE10Description2; 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="cie10Dto"/> to an instance of <see cref="cie10"/>. /// </summary> /// <param name="dto"><see cref="cie10Dto"/> to convert.</param> public static cie10 ToEntity(this cie10Dto dto) { if (dto == null) { return(null); } var entity = new cie10(); entity.v_CIE10Id = dto.v_CIE10Id; entity.v_CIE10Description1 = dto.v_CIE10Description1; entity.v_CIE10Description2 = dto.v_CIE10Description2; 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 diseasesDto(String v_DiseasesId, String v_CIE10Id, String v_Name, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, List <componentfieldvaluesDto> componentfieldvalues, List <diagnosticrepositoryDto> diagnosticrepository, cie10Dto cie10, List <dxfrecuenteDto> dxfrecuente, List <familymedicalantecedentsDto> familymedicalantecedents, List <personmedicalhistoryDto> personmedicalhistory) { this.v_DiseasesId = v_DiseasesId; this.v_CIE10Id = v_CIE10Id; this.v_Name = v_Name; 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.componentfieldvalues = componentfieldvalues; this.diagnosticrepository = diagnosticrepository; this.cie10 = cie10; this.dxfrecuente = dxfrecuente; this.familymedicalantecedents = familymedicalantecedents; this.personmedicalhistory = personmedicalhistory; }
public dxfrecuenteDto(String v_DxFrecuenteId, String v_DiseasesId, String v_CIE10Id, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, cie10Dto cie10, diseasesDto diseases, List <dxfrecuentedetalleDto> dxfrecuentedetalle) { this.v_DxFrecuenteId = v_DxFrecuenteId; this.v_DiseasesId = v_DiseasesId; this.v_CIE10Id = v_CIE10Id; 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.cie10 = cie10; this.diseases = diseases; this.dxfrecuentedetalle = dxfrecuentedetalle; }
/// <summary> /// Invoked when <see cref="ToEntity"/> operation is about to return. /// </summary> /// <param name="entity"><see cref="cie10"/> converted from <see cref="cie10Dto"/>.</param> static partial void OnEntity(this cie10Dto dto, cie10 entity);
/// <summary> /// Invoked when <see cref="ToDTO"/> operation is about to return. /// </summary> /// <param name="dto"><see cref="cie10Dto"/> converted from <see cref="cie10"/>.</param> static partial void OnDTO(this cie10 entity, cie10Dto dto);