public pacientmultimediadataDto(String v_PacientMultimediaDataId, String v_PersonId, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, pacientDto pacient)
 {
     this.v_PacientMultimediaDataId = v_PacientMultimediaDataId;
     this.v_PersonId     = v_PersonId;
     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.pacient        = pacient;
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Converts this instance of <see cref="pacient"/> to an instance of <see cref="pacientDto"/>.
        /// </summary>
        /// <param name="entity"><see cref="pacient"/> to convert.</param>
        public static pacientDto ToDTO(this pacient entity)
        {
            if (entity == null)
            {
                return(null);
            }

            var dto = new pacientDto();

            dto.v_PersonId     = entity.v_PersonId;
            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.i_UpdateNodeId = entity.i_UpdateNodeId;

            entity.OnDTO(dto);

            return(dto);
        }
Ejemplo n.º 3
0
        /// <summary>
        /// Converts this instance of <see cref="pacientDto"/> to an instance of <see cref="pacient"/>.
        /// </summary>
        /// <param name="dto"><see cref="pacientDto"/> to convert.</param>
        public static pacient ToEntity(this pacientDto dto)
        {
            if (dto == null)
            {
                return(null);
            }

            var entity = new pacient();

            entity.v_PersonId     = dto.v_PersonId;
            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;
            entity.i_UpdateNodeId = dto.i_UpdateNodeId;

            dto.OnEntity(entity);

            return(entity);
        }
Ejemplo n.º 4
0
 /// <summary>
 /// Invoked when <see cref="ToEntity"/> operation is about to return.
 /// </summary>
 /// <param name="entity"><see cref="pacient"/> converted from <see cref="pacientDto"/>.</param>
 static partial void OnEntity(this pacientDto dto, pacient entity);
Ejemplo n.º 5
0
 /// <summary>
 /// Invoked when <see cref="ToDTO"/> operation is about to return.
 /// </summary>
 /// <param name="dto"><see cref="pacientDto"/> converted from <see cref="pacient"/>.</param>
 static partial void OnDTO(this pacient entity, pacientDto dto);
Ejemplo n.º 6
0
 public personDto(String v_PersonId, String v_FirstName, String v_FirstLastName, String v_SecondLastName, Nullable <Int32> i_DocTypeId, String v_DocNumber, Nullable <DateTime> d_Birthdate, String v_BirthPlace, Nullable <Int32> i_SexTypeId, Nullable <Int32> i_MaritalStatusId, Nullable <Int32> i_LevelOfId, String v_TelephoneNumber, String v_AdressLocation, String v_GeografyLocationId, String v_ContactName, String v_EmergencyPhone, Byte[] b_PersonImage, String v_Mail, Nullable <Int32> i_BloodGroupId, Nullable <Int32> i_BloodFactorId, Byte[] b_FingerPrintTemplate, Byte[] b_RubricImage, Byte[] b_FingerPrintImage, String t_RubricImageText, String v_CurrentOccupation, Nullable <Int32> i_DepartmentId, Nullable <Int32> i_ProvinceId, Nullable <Int32> i_DistrictId, Nullable <Int32> i_ResidenceInWorkplaceId, String v_ResidenceTimeInWorkplace, Nullable <Int32> i_TypeOfInsuranceId, Nullable <Int32> i_NumberLivingChildren, Nullable <Int32> i_NumberDependentChildren, Nullable <Int32> i_OccupationTypeId, String v_OwnerName, Nullable <Int32> i_NumberLiveChildren, Nullable <Int32> i_NumberDeadChildren, Nullable <Int32> i_IsDeleted, Nullable <Int32> i_InsertUserId, Nullable <DateTime> d_InsertDate, Nullable <Int32> i_UpdateUserId, Nullable <DateTime> d_UpdateDate, Nullable <Int32> i_InsertNodeId, Nullable <Int32> i_UpdateNodeId, Nullable <Int32> i_Relationship, String v_ExploitedMineral, Nullable <Int32> i_AltitudeWorkId, Nullable <Int32> i_PlaceWorkId, String v_NroPoliza, Nullable <Decimal> v_Deducible, Nullable <Int32> i_NroHermanos, String v_Password, String v_Procedencia, String v_CentroEducativo, String v_Religion, String v_Nacionalidad, String v_ResidenciaAnterior, String v_Subs, String v_ComentaryUpdate, List <adolescenteDto> adolescente, List <adultoDto> adulto, List <adultomayorDto> adultomayor, List <blacklistpersonDto> blacklistperson, List <calendarDto> calendar, List <embarzoDto> embarzo, List <familymedicalantecedentsDto> familymedicalantecedents, List <historyDto> history, List <multimediafileDto> multimediafile, List <ninioDto> ninio, List <noxioushabitsDto> noxioushabits, pacientDto pacient, List <personmedicalhistoryDto> personmedicalhistory, professionalDto professional, List <serviceDto> service, List <systemuserDto> systemuser, List <vigilanciaDto> vigilancia)
 {
     this.v_PersonId           = v_PersonId;
     this.v_FirstName          = v_FirstName;
     this.v_FirstLastName      = v_FirstLastName;
     this.v_SecondLastName     = v_SecondLastName;
     this.i_DocTypeId          = i_DocTypeId;
     this.v_DocNumber          = v_DocNumber;
     this.d_Birthdate          = d_Birthdate;
     this.v_BirthPlace         = v_BirthPlace;
     this.i_SexTypeId          = i_SexTypeId;
     this.i_MaritalStatusId    = i_MaritalStatusId;
     this.i_LevelOfId          = i_LevelOfId;
     this.v_TelephoneNumber    = v_TelephoneNumber;
     this.v_AdressLocation     = v_AdressLocation;
     this.v_GeografyLocationId = v_GeografyLocationId;
     this.v_ContactName        = v_ContactName;
     this.v_EmergencyPhone     = v_EmergencyPhone;
     this.b_PersonImage        = b_PersonImage;
     this.v_Mail                     = v_Mail;
     this.i_BloodGroupId             = i_BloodGroupId;
     this.i_BloodFactorId            = i_BloodFactorId;
     this.b_FingerPrintTemplate      = b_FingerPrintTemplate;
     this.b_RubricImage              = b_RubricImage;
     this.b_FingerPrintImage         = b_FingerPrintImage;
     this.t_RubricImageText          = t_RubricImageText;
     this.v_CurrentOccupation        = v_CurrentOccupation;
     this.i_DepartmentId             = i_DepartmentId;
     this.i_ProvinceId               = i_ProvinceId;
     this.i_DistrictId               = i_DistrictId;
     this.i_ResidenceInWorkplaceId   = i_ResidenceInWorkplaceId;
     this.v_ResidenceTimeInWorkplace = v_ResidenceTimeInWorkplace;
     this.i_TypeOfInsuranceId        = i_TypeOfInsuranceId;
     this.i_NumberLivingChildren     = i_NumberLivingChildren;
     this.i_NumberDependentChildren  = i_NumberDependentChildren;
     this.i_OccupationTypeId         = i_OccupationTypeId;
     this.v_OwnerName                = v_OwnerName;
     this.i_NumberLiveChildren       = i_NumberLiveChildren;
     this.i_NumberDeadChildren       = i_NumberDeadChildren;
     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_InsertNodeId             = i_InsertNodeId;
     this.i_UpdateNodeId             = i_UpdateNodeId;
     this.i_Relationship             = i_Relationship;
     this.v_ExploitedMineral         = v_ExploitedMineral;
     this.i_AltitudeWorkId           = i_AltitudeWorkId;
     this.i_PlaceWorkId              = i_PlaceWorkId;
     this.v_NroPoliza                = v_NroPoliza;
     this.v_Deducible                = v_Deducible;
     this.i_NroHermanos              = i_NroHermanos;
     this.v_Password                 = v_Password;
     this.v_Procedencia              = v_Procedencia;
     this.v_CentroEducativo          = v_CentroEducativo;
     this.v_Religion                 = v_Religion;
     this.v_Nacionalidad             = v_Nacionalidad;
     this.v_ResidenciaAnterior       = v_ResidenciaAnterior;
     this.v_Subs                     = v_Subs;
     this.v_ComentaryUpdate          = v_ComentaryUpdate;
     this.adolescente                = adolescente;
     this.adulto                     = adulto;
     this.adultomayor                = adultomayor;
     this.blacklistperson            = blacklistperson;
     this.calendar                   = calendar;
     this.embarzo                    = embarzo;
     this.familymedicalantecedents   = familymedicalantecedents;
     this.history                    = history;
     this.multimediafile             = multimediafile;
     this.ninio                = ninio;
     this.noxioushabits        = noxioushabits;
     this.pacient              = pacient;
     this.personmedicalhistory = personmedicalhistory;
     this.professional         = professional;
     this.service              = service;
     this.systemuser           = systemuser;
     this.vigilancia           = vigilancia;
 }
Ejemplo n.º 7
0
        public personDto(String v_PersonId, String v_FirstName, String v_FirstLastName, String v_SecondLastName, Nullable<Int32> i_DocTypeId, String v_DocNumber, Nullable<DateTime> d_Birthdate, String v_BirthPlace, Nullable<Int32> i_SexTypeId, Nullable<Int32> i_MaritalStatusId, Nullable<Int32> i_LevelOfId, String v_TelephoneNumber, String v_AdressLocation, String v_GeografyLocationId, String v_ContactName, String v_EmergencyPhone, Byte[] b_PersonImage, String v_Mail, Nullable<Int32> i_BloodGroupId, Nullable<Int32> i_BloodFactorId, Byte[] b_FingerPrintTemplate, Byte[] b_RubricImage, Byte[] b_FingerPrintImage, String t_RubricImageText, String v_CurrentOccupation, Nullable<Int32> i_DepartmentId, Nullable<Int32> i_ProvinceId, Nullable<Int32> i_DistrictId, Nullable<Int32> i_ResidenceInWorkplaceId, String v_ResidenceTimeInWorkplace, Nullable<Int32> i_TypeOfInsuranceId, Nullable<Int32> i_NumberLivingChildren, Nullable<Int32> i_NumberDependentChildren, Nullable<Int32> i_OccupationTypeId, String v_OwnerName, Nullable<Int32> i_NumberLiveChildren, Nullable<Int32> i_NumberDeadChildren, Nullable<Int32> i_IsDeleted, Nullable<Int32> i_InsertUserId, Nullable<DateTime> d_InsertDate, Nullable<Int32> i_UpdateUserId, Nullable<DateTime> d_UpdateDate, Nullable<Int32> i_InsertNodeId, Nullable<Int32> i_UpdateNodeId, Nullable<Int32> i_Relationship, String v_ExploitedMineral, Nullable<Int32> i_AltitudeWorkId, Nullable<Int32> i_PlaceWorkId, List<blacklistpersonDto> blacklistperson, List<calendarDto> calendar, List<familymedicalantecedentsDto> familymedicalantecedents, List<historyDto> history, List<multimediafileDto> multimediafile, List<noxioushabitsDto> noxioushabits, pacientDto pacient, List<personmedicalhistoryDto> personmedicalhistory, professionalDto professional, List<systemuserDto> systemuser)
        {
			this.v_PersonId = v_PersonId;
			this.v_FirstName = v_FirstName;
			this.v_FirstLastName = v_FirstLastName;
			this.v_SecondLastName = v_SecondLastName;
			this.i_DocTypeId = i_DocTypeId;
			this.v_DocNumber = v_DocNumber;
			this.d_Birthdate = d_Birthdate;
			this.v_BirthPlace = v_BirthPlace;
			this.i_SexTypeId = i_SexTypeId;
			this.i_MaritalStatusId = i_MaritalStatusId;
			this.i_LevelOfId = i_LevelOfId;
			this.v_TelephoneNumber = v_TelephoneNumber;
			this.v_AdressLocation = v_AdressLocation;
			this.v_GeografyLocationId = v_GeografyLocationId;
			this.v_ContactName = v_ContactName;
			this.v_EmergencyPhone = v_EmergencyPhone;
			this.b_PersonImage = b_PersonImage;
			this.v_Mail = v_Mail;
			this.i_BloodGroupId = i_BloodGroupId;
			this.i_BloodFactorId = i_BloodFactorId;
			this.b_FingerPrintTemplate = b_FingerPrintTemplate;
			this.b_RubricImage = b_RubricImage;
			this.b_FingerPrintImage = b_FingerPrintImage;
			this.t_RubricImageText = t_RubricImageText;
			this.v_CurrentOccupation = v_CurrentOccupation;
			this.i_DepartmentId = i_DepartmentId;
			this.i_ProvinceId = i_ProvinceId;
			this.i_DistrictId = i_DistrictId;
			this.i_ResidenceInWorkplaceId = i_ResidenceInWorkplaceId;
			this.v_ResidenceTimeInWorkplace = v_ResidenceTimeInWorkplace;
			this.i_TypeOfInsuranceId = i_TypeOfInsuranceId;
			this.i_NumberLivingChildren = i_NumberLivingChildren;
			this.i_NumberDependentChildren = i_NumberDependentChildren;
			this.i_OccupationTypeId = i_OccupationTypeId;
			this.v_OwnerName = v_OwnerName;
			this.i_NumberLiveChildren = i_NumberLiveChildren;
			this.i_NumberDeadChildren = i_NumberDeadChildren;
			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_InsertNodeId = i_InsertNodeId;
			this.i_UpdateNodeId = i_UpdateNodeId;
			this.i_Relationship = i_Relationship;
			this.v_ExploitedMineral = v_ExploitedMineral;
			this.i_AltitudeWorkId = i_AltitudeWorkId;
			this.i_PlaceWorkId = i_PlaceWorkId;
			this.blacklistperson = blacklistperson;
			this.calendar = calendar;
			this.familymedicalantecedents = familymedicalantecedents;
			this.history = history;
			this.multimediafile = multimediafile;
			this.noxioushabits = noxioushabits;
			this.pacient = pacient;
			this.personmedicalhistory = personmedicalhistory;
			this.professional = professional;
			this.systemuser = systemuser;
        }